Changeset 183


Ignore:
Timestamp:
03/19/09 11:54:06 (4 years ago)
Author:
jeroen
Message:

added livestream plugin, fixed YT stretching and added reloading of plugins to testing

Files:
11 added
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • testing/files/streamers.xml

    r170 r183  
    7575                </track> 
    7676 
    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  
    8677        </tracklist> 
    8778</playlist> 
  • testing/files/style.css

    r180 r183  
    1818        margin: 0 0 40px 0; 
    1919} 
    20 div {  
    21         text-align: center; 
    22 } 
    2320fieldset { 
    2421        clear: both; 
     
    3633        display: block; 
    3734        float: left; 
    38         width: 49%; 
     35        width: 29%; 
    3936        font-size: 70%; 
    4037        margin: 5px 0 0 0; 
     
    4845        display: block; 
    4946        float: left; 
    50         width: 50%; 
     47        width: 70%; 
    5148} 
    5249button { 
     
    9996#preview { 
    10097        background-color: #F5F5F5; 
     98        text-align: center; 
    10199} 
    102100#flashvarsform li.active { 
  • testing/index.html

    r180 r183  
    1919                                $('#plugins').val(arr); 
    2020                                $.fieldsets(); 
    21                                 $.fillout(); 
     21                                $.fillout("flashvarsform"); 
    2222                        }, 
    2323                        /** Fill out the flashvars with example data. **/ 
    24                         fillout: function() { 
     24                        fillout: function(set) { 
    2525                                var obj = settings.examples[$('#examples :selected').text()]; 
    26                                 var arr = $("#flashvarsform").find('input'); 
     26                                var arr = $("#"+set).find('input'); 
    2727                                for(var i=0; i<arr.length; i++) { 
    2828                                        var nam = $(arr[i]).attr('name'); 
     
    8383                                                set += '</fieldset>'; 
    8484                                                $('#fieldsetspan').append(set); 
    85                                                 $.fillout(); 
     85                                                $.fillout(nam); 
    8686                                        } 
    8787                                }); 
     
    207207<form id="examplesform"> 
    208208        <fieldset> 
    209                 <label>example setups</label> 
     209                <label>Example</label> 
    210210                <select name="examples" id="examples"></select> 
    211211        </fieldset> 
     
    253253        <form id="listenersform"> 
    254254                <fieldset> 
    255                         <label>Add or remove</label> 
     255                        <label>Type</label> 
    256256                        <select type="text" id="addremove"> 
    257257                                <option>add</option> 
     
    286286 
    287287<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> 
    289289</div> 
    290290 
     
    352352                <input type="text" name="frontcolor" /> 
    353353                <label>height</label> 
    354                 <input type="text" name="height" /> 
     354                <input type="text" name="height" value="260" /> 
    355355                <label>lightcolor</label> 
    356356                <input type="text" name="lightcolor" /> 
     
    358358                <input type="text" name="playlist" /> 
    359359                <label>playlistsize</label> 
    360                 <input type="text" name="playlistsize" value=""/> 
     360                <input type="text" name="playlistsize" /> 
    361361                <label>screencolor</label> 
    362362                <input type="text" name="screencolor" /> 
    363363                <label>width</label> 
    364                 <input type="text" name="width" /> 
     364                <input type="text" name="width" value="400" /> 
    365365        </fieldset> 
    366366        <fieldset id="behaviour"> 
  • testing/settings.js

    r180 r183  
    1919                soundproxy:'../trunk/as3/soundproxy.swf', 
    2020                snapshot:'../trunk/as3/snapshot.swf', 
    21                 yousearch:'../trunk/as3/yousearch.swf' 
     21                yousearch:'../trunk/as3/yousearch.swf', 
     22                livestream:'../plugins/livestream/livestream.swf' 
    2223        }, 
    2324        /** Skins to test. **/ 
     
    199200                        controlbar:'over' 
    200201                }, 
     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                }, 
    201210                'Yousearch plugin': { 
    202211                        height:240, 
  • trunk/as3/com/jeroenwijering/models/YoutubeModel.as

    r182 r183  
    127127        /** SWF loaded; add it to the tree **/ 
    128128        public function onSwfLoadComplete():void { 
    129                 //outgoing.send('AS3_'+unique,"setSize",400,300); 
    130129                model.config['mute'] == true ? volume(0): volume(model.config['volume']); 
    131130                connected = true; 
  • trunk/as3/com/jeroenwijering/player/Player.as

    r181 r183  
    6969                plugins:undefined, 
    7070                token:undefined, 
    71                 tracecall:'arthropod', 
    72                 version:'4.4.177' 
     71                tracecall:undefined, 
     72                version:'4.4.182' 
    7373        }; 
    7474        /** Reference to all stage graphics. **/ 
     
    9292                        skin.getChildAt(i).visible = false; 
    9393                } 
    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(); } 
    9598        }; 
    9699 
Note: See TracChangeset for help on using the changeset viewer.