Changeset 126


Ignore:
Timestamp:
12/11/08 19:01:31 (4 years ago)
Author:
jeroen
Message:

added descriptions and preview images for plugins

Files:
6 added
15 edited

Legend:

Unmodified
Added
Removed
  • plugins/accessibility-1.0/com/jeroenwijering/plugins/Accessibility.as

    r125 r126  
    11/** 
    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: 
    38* 
    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 
    524**/ 
    625package com.jeroenwijering.plugins { 
     
    6079 
    6180        /** Show/hide the captions **/ 
    62         private function hideCaptions(stt:Boolean) { 
     81        public function hideCaptions(stt:Boolean) { 
    6382                config['hide'] = !stt; 
    6483                clip.visible = config['hide']; 
  • plugins/clickproxy-1.0/com/jeroenwijering/plugins/ClickProxy.as

    r125 r126  
    11/** 
     2* Clickproxy plugin 
     3* ================= 
     4* 
    25* This plugin sends mouse click information to javascript when a user clicks on a playing video. 
    3 * Use it to build interactive video style applications in javascript.The plugin has one flashvar: 
     6* Use it to build interactive video applications in javascript.The plugin has one flashvar: 
    47*  
    58* 1. clickproxy.listener 
    69* This is the javascript function that receives the mouseclick info. Default is "clickListener". 
     10*  
    711* The function receives an object with the following variables: 
    812* - id (id of the player in the javascript DOM) 
     
    1418* - state (this is the playbackstate of the video) 
    1519* 
     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 
    1625**/ 
    1726package com.jeroenwijering.plugins { 
  • plugins/metaviewer-1.0/com/jeroenwijering/plugins/MetaViewer.as

    r125 r126  
    11/** 
    2 * Print the metadata enclosed in files onscreen 
    3 * ============================================= 
     2* MetaViewer plugin 
     3* ================= 
    44* 
    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 
    716**/ 
    817package com.jeroenwijering.plugins { 
  • plugins/soundproxy-1.0/com/jeroenwijering/plugins/SoundProxy.as

    r125 r126  
    11/** 
     2* Soundproxy plugin 
     3* ================= 
     4*  
    25* This plugin sends realtime sound spectrum information to javascript. 
    36* Use it to build equalizer / visualizer applications in javascript that react on the player. 
     
    1316* 3. soundproxy.listener 
    1417* This is the javascript function that receives the sounddata info. Default is "soundListener". 
    15 * The function receives an object with the following variables: 
     18* The listener receives an object with the following variables: 
    1619* - id (id of the player in the javascript DOM) 
    1720* - version (version of the player, e.g. 4.2.90) 
     
    1922* - bands (this is an array with values from -1 to 1, corresponding to the amplitude of the frequency bands) 
    2023* 
    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 
    2431**/ 
    2532package com.jeroenwijering.plugins { 
  • trunk/as3/com/jeroenwijering/plugins/Accessibility.as

    r125 r126  
    11/** 
    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: 
    38* 
    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 
    524**/ 
    625package com.jeroenwijering.plugins { 
     
    6079 
    6180        /** Show/hide the captions **/ 
    62         private function hideCaptions(stt:Boolean) { 
     81        public function hideCaptions(stt:Boolean) { 
    6382                config['hide'] = !stt; 
    6483                clip.visible = config['hide']; 
  • trunk/as3/com/jeroenwijering/plugins/ClickProxy.as

    r124 r126  
    11/** 
     2* Clickproxy plugin 
     3* ================= 
     4* 
    25* This plugin sends mouse click information to javascript when a user clicks on a playing video. 
    3 * Use it to build interactive video style applications in javascript.The plugin has one flashvar: 
     6* Use it to build interactive video applications in javascript.The plugin has one flashvar: 
    47*  
    58* 1. clickproxy.listener 
    69* This is the javascript function that receives the mouseclick info. Default is "clickListener". 
     10*  
    711* The function receives an object with the following variables: 
    812* - id (id of the player in the javascript DOM) 
     
    1418* - state (this is the playbackstate of the video) 
    1519* 
     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 
    1625**/ 
    1726package com.jeroenwijering.plugins { 
  • trunk/as3/com/jeroenwijering/plugins/HD.as

    r125 r126  
    11/** 
    2 * Implement an HD toggle. 
    3 * ======================= 
     2* HD Plugin 
     3* ========= 
    44*  
    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: 
    77*  
    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 
    1416**/ 
    1517package com.jeroenwijering.plugins { 
  • trunk/as3/com/jeroenwijering/plugins/MetaViewer.as

    r125 r126  
    11/** 
    2 * Print the metadata enclosed in files onscreen 
    3 * ============================================= 
     2* MetaViewer plugin 
     3* ================= 
    44* 
    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 
    716**/ 
    817package com.jeroenwijering.plugins { 
  • trunk/as3/com/jeroenwijering/plugins/Revolt.as

    r125 r126  
    11/** 
    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 
    510**/ 
    611 
  • trunk/as3/com/jeroenwijering/plugins/SoundProxy.as

    r124 r126  
    11/** 
     2* Soundproxy plugin 
     3* ================= 
     4*  
    25* This plugin sends realtime sound spectrum information to javascript. 
    36* Use it to build equalizer / visualizer applications in javascript that react on the player. 
     
    1316* 3. soundproxy.listener 
    1417* This is the javascript function that receives the sounddata info. Default is "soundListener". 
    15 * The function receives an object with the following variables: 
     18* The listener receives an object with the following variables: 
    1619* - id (id of the player in the javascript DOM) 
    1720* - version (version of the player, e.g. 4.2.90) 
     
    1922* - bands (this is an array with values from -1 to 1, corresponding to the amplitude of the frequency bands) 
    2023* 
    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 
    2431**/ 
    2532package com.jeroenwijering.plugins { 
Note: See TracChangeset for help on using the changeset viewer.