Differences

This shows you the differences between two versions of the page.

3rd-party-modules:image_rotator:image-rotator-docu:image-rotator-settingsapi [2011/04/25 00:51]
Peter Bracher created
3rd-party-modules:image_rotator:image-rotator-docu:image-rotator-settingsapi [2018/06/03 18:08] (current)
Line 2: Line 2:
====== Settings API ====== ====== Settings API ======
-{{:3rd-party-modules:image_rotator:image-rotator-docu:api.jpg|}}+{{:3rd-party-modules:image_rotator:image-rotator-docu:api.jpg|}}\\
The JW Image Rotator features an extensive javascript API that can be used for sending events and extracting updates.\\ The JW Image Rotator features an extensive javascript API that can be used for sending events and extracting updates.\\
You can add flashvars here as well, or overwrite previously set ones with different values.\\ You can add flashvars here as well, or overwrite previously set ones with different values.\\
Line 9: Line 9:
Note that javascript interaction only work for the Flash Plugin 8+ and only online, due to security restrictions.\\ Note that javascript interaction only work for the Flash Plugin 8+ and only online, due to security restrictions.\\
-Note as well that most of the examples in the above link only work with the Player 4.0 which does work only with the JW Media Player not with the JW Image Rotator.\\+Note as well that most of the examples in the above link only work with the Player 4.0/Player 4.0 which does work only with the JW Media Player not with the JW Image Rotator.\\
When you enable the javascript option the following flashvars/parameters are added to the player:\\ When you enable the javascript option the following flashvars/parameters are added to the player:\\
allowscriptaccess=always\\ allowscriptaccess=always\\
enablejs=true\\ enablejs=true\\
-javascriptid=[ID of contentpart]\\\+javascriptid=[ID of contentpart]\\
Those are needed when you want to use the API!\\ Those are needed when you want to use the API!\\
 +\\
 +Call the javascript function for the event you like to add outside the player, everywhere on your site\\
 +for example:\\
 +  <a href="javascript:sendEvent('MODfir801','playpause');">play/pause </a>\\
---- ----
\\ \\
3rd-party-modules/image_rotator/image-rotator-docu/image-rotator-settingsapi.1303685472.txt.gz · Last modified: 2018/06/03 18:06 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0