Changeset 766


Ignore:
Timestamp:
12/30/09 09:36:17 (3 years ago)
Author:
jeroen
Message:

first version of the tabbar plugin

Files:
17 added
6 edited

Legend:

Unmodified
Added
Removed
  • testing/index.html

    r744 r766  
    328328        function playerReady(obj) { 
    329329                player = document.getElementById(obj['id']); 
    330                 //$('#javascript').css('display','block'); 
     330                $('#javascript').css('display','block'); 
    331331        }; 
    332332</script> 
  • testing/settings.js

    r744 r766  
    8686                        swf:'../plugins/replay/replay.swf', 
    8787                        xml:'../plugins/replay/replay.xml' 
     88                }, 
     89                tabbar: { 
     90                        swf:'../plugins/tabbar/tabbar.swf', 
     91                        xml:'../plugins/tabbar/tabbar.xml' 
    8892                } 
    8993        }, 
     
    471475                        plugins:'popout', 
    472476                        'popout.file':'files/popout.html' 
     477                }, 
     478                65: { 
     479                        title:'Tab bar plugin', 
     480                        file:'http://gdata.youtube.com/feeds/api/videos?vq=Rabbits&format=5', 
     481                        height:290, 
     482                        width:640, 
     483                        playlist:'right', 
     484                        playlistsize:320, 
     485                        plugins:'tabbar', 
     486                        'tabbar.titles':'Cat Talk,Doggy Daily,Rabbit Relays,Monkey Business', 
     487                        'tabbar.links':'http://gdata.youtube.com/feeds/api/videos?vq=cats,http://gdata.youtube.com/feeds/api/videos?vq=dogs,http://gdata.youtube.com/feeds/api/videos?vq=rabbits,http://gdata.youtube.com/feeds/api/videos?vq=monkeys' 
    473488                } 
    474489        } 
  • trunk/as3/com/jeroenwijering/models/HTTPModel.as

    r760 r766  
    116116                var lvl:Number = item['levels'].length-1; 
    117117                for (var i:Number=0; i<item['levels'].length; i++) { 
    118                         if(model.config['width'] >= item['levels'][i].width &&  
     118                        if(model.config['width'] >= item['levels'][i].width*.9 &&  
    119119                                model.config['bandwidth'] >= item['levels'][i].bitrate) { 
    120120                                lvl = i; 
  • trunk/as3/com/jeroenwijering/models/RTMPModel.as

    r761 r766  
    143143                var lvl:Number = item['levels'].length-1; 
    144144                for (var i:Number=0; i<item['levels'].length; i++) { 
    145                         if(model.config['width'] >= item['levels'][i].width &&  
     145                        if(model.config['width'] >= item['levels'][i].width*.9 &&  
    146146                                model.config['bandwidth'] >= item['levels'][i].bitrate) { 
    147147                                lvl = i; 
  • trunk/as3/com/jeroenwijering/models/VideoModel.as

    r760 r766  
    9090                var lvl:Number = item['levels'].length-1; 
    9191                for (var i:Number=0; i<item['levels'].length; i++) { 
    92                         if(model.config['width'] >= item['levels'][i].width && 
     92                        if(model.config['width'] >= item['levels'][i].width*.9 && 
    9393                                model.config['bandwidth'] >= item['levels'][i].bitrate) { 
    9494                                lvl = i; 
Note: See TracChangeset for help on using the changeset viewer.