Ignore:
Timestamp:
10/20/10 12:01:34 (3 years ago)
Author:
jeroen
Message:

Reverted the automatic thumb hiding. Instead, it turned out there already is a 'thumbs' skin setting that does the same. Modified 'five' and 'simple' skins to showcase this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/src/com/longtailvideo/jwplayer/view/components/PlaylistComponent.as

    r1301 r1394  
    556556                        if (playlistItem.image || playlistItem['playlist.image']) { 
    557557                                var imageFile:String = playlistItem['playlist.image'] ? playlistItem['playlist.image'] : playlistItem.image; 
    558                                 if (getConfigParam('thumbs') != false && _player.config.playlist != 'none' && buttonheight > 39 && getConfigParam("width") > 239) { 
     558                                if (getConfigParam('thumbs') != false && _player.config.playlist != 'none') { 
    559559                                        var img:Sprite = btn.getChildByName("image") as Sprite; 
    560560                                        if (img) { 
     
    611611                        } 
    612612                        img = btn.getChildByName("image") as MovieClip; 
    613                         if (img && (!(playlistItem.image || playlistItem['playlist.image']) || getConfigParam('thumbs') == false || buttonheight < 40 || getConfigParam("width") < 240)) { 
     613                        if (img && (!(playlistItem.image || playlistItem['playlist.image']) || getConfigParam('thumbs') == false)) { 
    614614                                if (!img.getChildByName("imageBackground")) { 
    615615                                        btn.getChildByName("image").visible = false; 
Note: See TracChangeset for help on using the changeset viewer.