Changeset 126
- Timestamp:
- 12/11/08 19:01:31 (4 years ago)
- Files:
-
- 6 added
- 15 edited
-
plugins/accessibility-1.0/accessibility.jpg (added)
-
plugins/accessibility-1.0/accessibility.swf (modified) (previous)
-
plugins/accessibility-1.0/com/jeroenwijering/plugins/Accessibility.as (modified) (2 diffs)
-
plugins/clickproxy-1.0/clickproxy.jpg (added)
-
plugins/clickproxy-1.0/com/jeroenwijering/plugins/ClickProxy.as (modified) (2 diffs)
-
plugins/hd-1.0/hd.jpg (added)
-
plugins/metaviewer-1.0/com/jeroenwijering/plugins/MetaViewer.as (modified) (1 diff)
-
plugins/metaviewer-1.0/metaviewer.fla (modified) (previous)
-
plugins/metaviewer-1.0/metaviewer.jpg (added)
-
plugins/metaviewer-1.0/metaviewer.swf (modified) (previous)
-
plugins/revolt-1.0/revolt.jpg (added)
-
plugins/soundproxy-1.0/com/jeroenwijering/plugins/SoundProxy.as (modified) (3 diffs)
-
plugins/soundproxy-1.0/soundproxy.jpg (added)
-
trunk/as3/com/jeroenwijering/plugins/Accessibility.as (modified) (2 diffs)
-
trunk/as3/com/jeroenwijering/plugins/ClickProxy.as (modified) (2 diffs)
-
trunk/as3/com/jeroenwijering/plugins/HD.as (modified) (1 diff)
-
trunk/as3/com/jeroenwijering/plugins/MetaViewer.as (modified) (1 diff)
-
trunk/as3/com/jeroenwijering/plugins/Revolt.as (modified) (1 diff)
-
trunk/as3/com/jeroenwijering/plugins/SoundProxy.as (modified) (3 diffs)
-
trunk/as3/metaviewer.fla (modified) (previous)
-
trunk/as3/metaviewer.swf (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
plugins/accessibility-1.0/com/jeroenwijering/plugins/Accessibility.as
r125 r126 1 1 /** 2 * Plugin for synchronized closed captions and audiodescription. 2 * Accessibility plugin 3 * ==================== 4 * 5 * Plugin for playing closed captions and a closed audiodescription with a video. 6 * For the 4.3 player or higher, the plugin will place buttons in the controlbar to toggle captions/audio on or off. 7 * The plugin has three variables for the captions part and three for the audio part: 3 8 * 4 * @todo Hook up controlbar buttons. 9 * - "accessibility.captions": Location of the TimedText or SRT XML file to display. 10 * an example file is http://developer.longtailvideo.com/files/corrie.xml 11 * - "accessibility.hide": Set this to "true" to turn off the captions by default. 12 * - "accessibility.fontsize": Size of the captions font. Default is 15. 13 * 14 * - "accessibility:audio": Location of the audiodescription MP3 to play. 15 * An example file is http://developer.longtailvideo.com/files/corrie.mp3 16 * - "accessibility.mute": Set this to "true" to turn off the audiodescription by default. 17 * - "accessibility.volume": Volume of the captions. Default is 50. Set this bigger/smaller to boost/soften the volume. 18 * 19 * You can also set captions or audio through a playlist, through the meta-elements named "captions" and "audio". 20 * Set these for every playlistentry that has accessibility files. For an overview of meta elements, visit: 21 * http://developer.longtailvideo.com/trac/wiki/FlashFormats#Playlistformats 22 * 23 * The source code for this plugin can be found at http://developer.longtailvideo.com/trac/browser/plugins/accessibility-1.0 5 24 **/ 6 25 package com.jeroenwijering.plugins { … … 60 79 61 80 /** Show/hide the captions **/ 62 p rivatefunction hideCaptions(stt:Boolean) {81 public function hideCaptions(stt:Boolean) { 63 82 config['hide'] = !stt; 64 83 clip.visible = config['hide']; -
plugins/clickproxy-1.0/com/jeroenwijering/plugins/ClickProxy.as
r125 r126 1 1 /** 2 * Clickproxy plugin 3 * ================= 4 * 2 5 * This plugin sends mouse click information to javascript when a user clicks on a playing video. 3 * Use it to build interactive video styleapplications in javascript.The plugin has one flashvar:6 * Use it to build interactive video applications in javascript.The plugin has one flashvar: 4 7 * 5 8 * 1. clickproxy.listener 6 9 * This is the javascript function that receives the mouseclick info. Default is "clickListener". 10 * 7 11 * The function receives an object with the following variables: 8 12 * - id (id of the player in the javascript DOM) … … 14 18 * - state (this is the playbackstate of the video) 15 19 * 20 * Some nice examples from Lars Nyboe Andersen can be found here: 21 * - http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/clickproxy/clickproxy_mux.html 22 * - http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/JW_FLV_Media_Player_Piano/ 23 * 24 * The full source code can be found at http://developer.longtailvideo.com/trac/browser/plugins/clickproxy-1.0 16 25 **/ 17 26 package com.jeroenwijering.plugins { -
plugins/metaviewer-1.0/com/jeroenwijering/plugins/MetaViewer.as
r125 r126 1 1 /** 2 * Print the metadata enclosed in files onscreen3 * ================= ============================2 * MetaViewer plugin 3 * ================= 4 4 * 5 * This plugin use the ".position" and ".size" positioning introduced in 4.3. 6 * For < 4.3, it'll fail gracefully by showing the viewer on top of the display. 5 * Prints the metadata enclosed in videos onscreen, which is useful for metadata checking. Works for FLV and MP4. 6 * This plugin uses the ".position" and ".size" variables introduced in 4.3: 7 * 8 * - metaviewer.position Position of the plugin, can be "left", "right", "top" or "bottom". Default is "over". 9 * - metaviewer.size Size of the plugin in pixels. When placed "left" or "right", it is the width and 10 * when placed "top" or "bottom" it is the height of the plugin. When set to "over", 11 * the dimensions of the display are always used. 12 * 13 * For < 4.3 players, the plugin will always show on top of the display. 14 * 15 * The plugin source code can be found at: http://developer.longtailvideo.com/trac/browser/plugins/metaviewer-1.0 7 16 **/ 8 17 package com.jeroenwijering.plugins { -
plugins/soundproxy-1.0/com/jeroenwijering/plugins/SoundProxy.as
r125 r126 1 1 /** 2 * Soundproxy plugin 3 * ================= 4 * 2 5 * This plugin sends realtime sound spectrum information to javascript. 3 6 * Use it to build equalizer / visualizer applications in javascript that react on the player. … … 13 16 * 3. soundproxy.listener 14 17 * This is the javascript function that receives the sounddata info. Default is "soundListener". 15 * The functionreceives an object with the following variables:18 * The listener receives an object with the following variables: 16 19 * - id (id of the player in the javascript DOM) 17 20 * - version (version of the player, e.g. 4.2.90) … … 19 22 * - bands (this is an array with values from -1 to 1, corresponding to the amplitude of the frequency bands) 20 23 * 21 * = CAUTION = 22 * When playing a video from another domain than the player.swf, a security exception 23 * prevents the plugin from parsing the soundfrequency data. Always place player + video at the same domain. 24 * When playing a video from another domain than the player, security restrictions prevent the plugin from parsing the sounddata. 25 * Either place player + video at the same domain or make sure the video domain has a crossdomain.xml file. 26 * 27 * Here's a couple of cool demos from Lars Nyboe Andersen: 28 * http://home5.inet.tele.dk/nyboe/flash/lab/externalSoundInterface/soundproxy_index.html 29 * 30 * The source code for this plugin can be found at http://developer.longtailvideo.com/trac/browser/plugins/soundproxy-1.0 24 31 **/ 25 32 package com.jeroenwijering.plugins { -
trunk/as3/com/jeroenwijering/plugins/Accessibility.as
r125 r126 1 1 /** 2 * Plugin for synchronized closed captions and audiodescription. 2 * Accessibility plugin 3 * ==================== 4 * 5 * Plugin for playing closed captions and a closed audiodescription with a video. 6 * For the 4.3 player or higher, the plugin will place buttons in the controlbar to toggle captions/audio on or off. 7 * The plugin has three variables for the captions part and three for the audio part: 3 8 * 4 * @todo Hook up controlbar buttons. 9 * - "accessibility.captions": Location of the TimedText or SRT XML file to display. 10 * an example file is http://developer.longtailvideo.com/files/corrie.xml 11 * - "accessibility.hide": Set this to "true" to turn off the captions by default. 12 * - "accessibility.fontsize": Size of the captions font. Default is 15. 13 * 14 * - "accessibility:audio": Location of the audiodescription MP3 to play. 15 * An example file is http://developer.longtailvideo.com/files/corrie.mp3 16 * - "accessibility.mute": Set this to "true" to turn off the audiodescription by default. 17 * - "accessibility.volume": Volume of the captions. Default is 50. Set this bigger/smaller to boost/soften the volume. 18 * 19 * You can also set captions or audio through a playlist, through the meta-elements named "captions" and "audio". 20 * Set these for every playlistentry that has accessibility files. For an overview of meta elements, visit: 21 * http://developer.longtailvideo.com/trac/wiki/FlashFormats#Playlistformats 22 * 23 * The source code for this plugin can be found at http://developer.longtailvideo.com/trac/browser/plugins/accessibility-1.0 5 24 **/ 6 25 package com.jeroenwijering.plugins { … … 60 79 61 80 /** Show/hide the captions **/ 62 p rivatefunction hideCaptions(stt:Boolean) {81 public function hideCaptions(stt:Boolean) { 63 82 config['hide'] = !stt; 64 83 clip.visible = config['hide']; -
trunk/as3/com/jeroenwijering/plugins/ClickProxy.as
r124 r126 1 1 /** 2 * Clickproxy plugin 3 * ================= 4 * 2 5 * This plugin sends mouse click information to javascript when a user clicks on a playing video. 3 * Use it to build interactive video styleapplications in javascript.The plugin has one flashvar:6 * Use it to build interactive video applications in javascript.The plugin has one flashvar: 4 7 * 5 8 * 1. clickproxy.listener 6 9 * This is the javascript function that receives the mouseclick info. Default is "clickListener". 10 * 7 11 * The function receives an object with the following variables: 8 12 * - id (id of the player in the javascript DOM) … … 14 18 * - state (this is the playbackstate of the video) 15 19 * 20 * Some nice examples from Lars Nyboe Andersen can be found here: 21 * - http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/clickproxy/clickproxy_mux.html 22 * - http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/JW_FLV_Media_Player_Piano/ 23 * 24 * The full source code can be found at http://developer.longtailvideo.com/trac/browser/plugins/clickproxy-1.0 16 25 **/ 17 26 package com.jeroenwijering.plugins { -
trunk/as3/com/jeroenwijering/plugins/HD.as
r125 r126 1 1 /** 2 * Implement an HD toggle.3 * ========= ==============2 * HD Plugin 3 * ========= 4 4 * 5 * An icon is shown to do the toggle, and the value is saved as a cookie.6 * This plugin only works for single files. Two flashvars are available:5 * Implements an HD toggle. An icon on the controlbar is shown to do the toggle, and the latest value is saved as a cookie. 6 * This plugin only works for single videos, not for playlists. Two flashvars are available: 7 7 * 8 * - hd.file: the HD file that one can toggle to. 9 * - hd.state is the state of the HD toggle (true/false). 10 * Use it to force HD on or off through flashvars, regardless of a users' HD cookie settings. 11 * 12 * This plugin also showcases the addition of controlbar buttons, introduced in 4.3. 13 * It'll silently fail (no button, no error) for < 4.3 players or nonsupporting skins. 8 * - hd.file the HD file that one can toggle to. Example: "http://developer.longtailvideo.com/files/bunny.mov" 9 * - hd.state the state of the HD toggle (true/false). Only use this when you want to override a users' cookie value 10 * (e.g. force the HD to be always off by default to save bandwidth). 11 * 12 * The insertion of the controlbar button will only work on 4.3+ players. It'll silently fail (no button, no error) 13 * for previous versions of the player ór when using an older skin (a skin needs to have a linkButton.back clip). 14 * 15 * The source code for this plugin can be found at http://developer.longtailvideo.com/trac/browser/plugins/hd-1.0 14 16 **/ 15 17 package com.jeroenwijering.plugins { -
trunk/as3/com/jeroenwijering/plugins/MetaViewer.as
r125 r126 1 1 /** 2 * Print the metadata enclosed in files onscreen3 * ================= ============================2 * MetaViewer plugin 3 * ================= 4 4 * 5 * This plugin use the ".position" and ".size" positioning introduced in 4.3. 6 * For < 4.3, it'll fail gracefully by showing the viewer on top of the display. 5 * Prints the metadata enclosed in videos onscreen, which is useful for metadata checking. Works for FLV and MP4. 6 * This plugin uses the ".position" and ".size" variables introduced in 4.3: 7 * 8 * - metaviewer.position Position of the plugin, can be "left", "right", "top" or "bottom". Default is "over". 9 * - metaviewer.size Size of the plugin in pixels. When placed "left" or "right", it is the width and 10 * when placed "top" or "bottom" it is the height of the plugin. When set to "over", 11 * the dimensions of the display are always used. 12 * 13 * For < 4.3 players, the plugin will always show on top of the display. 14 * 15 * The plugin source code can be found at: http://developer.longtailvideo.com/trac/browser/plugins/metaviewer-1.0 7 16 **/ 8 17 package com.jeroenwijering.plugins { -
trunk/as3/com/jeroenwijering/plugins/Revolt.as
r125 r126 1 1 /** 2 * This plugin shows an audio visualizer in the displa area. 3 * 4 * All visualization code by Antti Kupila (www.anttikupila.com). 2 * Revolt plugin 3 * ============= 4 * 5 * This plugin renders some cool visualizations in the display, great for audio playback. It has no flashvars. 6 * All visualization code is developed by Antti Kupila (www.anttikupila.com). 7 * 8 * The plugin contains 6 presets, and developers with actionscript experience can easily add new presets. 9 * Source code of the plugin can be found at http://developer.longtailvideo.com/trac/browser/plugins/revolt-1.0 5 10 **/ 6 11 -
trunk/as3/com/jeroenwijering/plugins/SoundProxy.as
r124 r126 1 1 /** 2 * Soundproxy plugin 3 * ================= 4 * 2 5 * This plugin sends realtime sound spectrum information to javascript. 3 6 * Use it to build equalizer / visualizer applications in javascript that react on the player. … … 13 16 * 3. soundproxy.listener 14 17 * This is the javascript function that receives the sounddata info. Default is "soundListener". 15 * The functionreceives an object with the following variables:18 * The listener receives an object with the following variables: 16 19 * - id (id of the player in the javascript DOM) 17 20 * - version (version of the player, e.g. 4.2.90) … … 19 22 * - bands (this is an array with values from -1 to 1, corresponding to the amplitude of the frequency bands) 20 23 * 21 * = CAUTION = 22 * When playing a video from another domain than the player.swf, a security exception 23 * prevents the plugin from parsing the soundfrequency data. Always place player + video at the same domain. 24 * When playing a video from another domain than the player, security restrictions prevent the plugin from parsing the sounddata. 25 * Either place player + video at the same domain or make sure the video domain has a crossdomain.xml file. 26 * 27 * Here's a couple of cool demos from Lars Nyboe Andersen: 28 * http://home5.inet.tele.dk/nyboe/flash/lab/externalSoundInterface/soundproxy_index.html 29 * 30 * The source code for this plugin can be found at http://developer.longtailvideo.com/trac/browser/plugins/soundproxy-1.0 24 31 **/ 25 32 package com.jeroenwijering.plugins {
Note: See TracChangeset
for help on using the changeset viewer.
