Changeset 183
- Timestamp:
- 03/19/09 11:54:06 (4 years ago)
- Files:
-
- 11 added
- 7 edited
- 1 copied
-
plugins/livestream (added)
-
plugins/livestream/com (added)
-
plugins/livestream/com/jeroenwijering (added)
-
plugins/livestream/com/jeroenwijering/events (copied) (copied from trunk/as3/com/jeroenwijering/events)
-
plugins/livestream/com/jeroenwijering/plugins (added)
-
plugins/livestream/livestream.fla (added)
-
plugins/livestream/livestream.swf (added)
-
plugins/livestream/livestream.xml (added)
-
testing/files/streamers.xml (modified) (1 diff)
-
testing/files/style.css (modified) (4 diffs)
-
testing/index.html (modified) (7 diffs)
-
testing/settings.js (modified) (2 diffs)
-
trunk/as3/com/jeroenwijering/models/YoutubeModel.as (modified) (1 diff)
-
trunk/as3/com/jeroenwijering/player/Player.as (modified) (2 diffs)
-
trunk/as3/com/jeroenwijering/plugins/Livestream.as (added)
-
trunk/as3/livestream.fla (added)
-
trunk/as3/livestream.swf (added)
-
trunk/as3/livestream.xml (added)
-
trunk/as3/player.swf (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
testing/files/streamers.xml
r170 r183 75 75 </track> 76 76 77 <track>78 <title>FLVSeek streamed FLV</title>79 <creator>the Peach Open Movie Project</creator>80 <info>http://www.bigbuckbunny.org/</info>81 <annotation>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</annotation>82 <location>http://llnwqa.vo.llnwd.net/o18/secure/ntPYsD4L-326.flv?h=8069d8867ff9f06d1ba3763b6b5cd7ad</location>83 <meta rel="streamer">flvseek</meta>84 </track>85 86 77 </tracklist> 87 78 </playlist> -
testing/files/style.css
r180 r183 18 18 margin: 0 0 40px 0; 19 19 } 20 div {21 text-align: center;22 }23 20 fieldset { 24 21 clear: both; … … 36 33 display: block; 37 34 float: left; 38 width: 49%;35 width: 29%; 39 36 font-size: 70%; 40 37 margin: 5px 0 0 0; … … 48 45 display: block; 49 46 float: left; 50 width: 50%;47 width: 70%; 51 48 } 52 49 button { … … 99 96 #preview { 100 97 background-color: #F5F5F5; 98 text-align: center; 101 99 } 102 100 #flashvarsform li.active { -
testing/index.html
r180 r183 19 19 $('#plugins').val(arr); 20 20 $.fieldsets(); 21 $.fillout( );21 $.fillout("flashvarsform"); 22 22 }, 23 23 /** Fill out the flashvars with example data. **/ 24 fillout: function( ) {24 fillout: function(set) { 25 25 var obj = settings.examples[$('#examples :selected').text()]; 26 var arr = $("# flashvarsform").find('input');26 var arr = $("#"+set).find('input'); 27 27 for(var i=0; i<arr.length; i++) { 28 28 var nam = $(arr[i]).attr('name'); … … 83 83 set += '</fieldset>'; 84 84 $('#fieldsetspan').append(set); 85 $.fillout( );85 $.fillout(nam); 86 86 } 87 87 }); … … 207 207 <form id="examplesform"> 208 208 <fieldset> 209 <label> example setups</label>209 <label>Example</label> 210 210 <select name="examples" id="examples"></select> 211 211 </fieldset> … … 253 253 <form id="listenersform"> 254 254 <fieldset> 255 <label> Add or remove</label>255 <label>Type</label> 256 256 <select type="text" id="addremove"> 257 257 <option>add</option> … … 286 286 287 287 <div id="preview"> 288 <a href="http://developer.longtailvideo.com/trac/ FlashTesting">Learn how to use this testing page</a></div>288 <a href="http://developer.longtailvideo.com/trac/wiki/FlashTesting" target="_top">Learn how to use this testing page</a></div> 289 289 </div> 290 290 … … 352 352 <input type="text" name="frontcolor" /> 353 353 <label>height</label> 354 <input type="text" name="height" />354 <input type="text" name="height" value="260" /> 355 355 <label>lightcolor</label> 356 356 <input type="text" name="lightcolor" /> … … 358 358 <input type="text" name="playlist" /> 359 359 <label>playlistsize</label> 360 <input type="text" name="playlistsize" value=""/>360 <input type="text" name="playlistsize" /> 361 361 <label>screencolor</label> 362 362 <input type="text" name="screencolor" /> 363 363 <label>width</label> 364 <input type="text" name="width" />364 <input type="text" name="width" value="400" /> 365 365 </fieldset> 366 366 <fieldset id="behaviour"> -
testing/settings.js
r180 r183 19 19 soundproxy:'../trunk/as3/soundproxy.swf', 20 20 snapshot:'../trunk/as3/snapshot.swf', 21 yousearch:'../trunk/as3/yousearch.swf' 21 yousearch:'../trunk/as3/yousearch.swf', 22 livestream:'../plugins/livestream/livestream.swf' 22 23 }, 23 24 /** Skins to test. **/ … … 199 200 controlbar:'over' 200 201 }, 202 'Livestream plugin': { 203 file:'../../testing/files/bunny.flv', 204 height:260, 205 width:500, 206 plugins:'livestream', 207 'livestream.file':'bunny.flv', 208 'livestream.streamer':'rtmp://edge01.fms.dutchview.nl/botr' 209 }, 201 210 'Yousearch plugin': { 202 211 height:240, -
trunk/as3/com/jeroenwijering/models/YoutubeModel.as
r182 r183 127 127 /** SWF loaded; add it to the tree **/ 128 128 public function onSwfLoadComplete():void { 129 //outgoing.send('AS3_'+unique,"setSize",400,300);130 129 model.config['mute'] == true ? volume(0): volume(model.config['volume']); 131 130 connected = true; -
trunk/as3/com/jeroenwijering/player/Player.as
r181 r183 69 69 plugins:undefined, 70 70 token:undefined, 71 tracecall: 'arthropod',72 version:'4.4.1 77'71 tracecall:undefined, 72 version:'4.4.182' 73 73 }; 74 74 /** Reference to all stage graphics. **/ … … 92 92 skin.getChildAt(i).visible = false; 93 93 } 94 addEventListener(Event.ADDED_TO_STAGE,loadConfig); 94 // This event is useful for Flex, but not recognized by FP9.0.16 95 try { 96 addEventListener(Event.ADDED_TO_STAGE,loadConfig); 97 } catch(err:Error) { loadConfig(); } 95 98 }; 96 99
Note: See TracChangeset
for help on using the changeset viewer.
