From: John Törnblom Date: Tue, 18 Sep 2012 15:50:24 +0000 (+0200) Subject: encapsulate the vlc plugin with a panel. fixes vlc plugin after extjs3 upgrade X-Git-Tag: 3.3~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d16bedea3f9aaf6769c2936bd9786b2d7604cd95;p=thirdparty%2Ftvheadend.git encapsulate the vlc plugin with a panel. fixes vlc plugin after extjs3 upgrade --- diff --git a/src/webui/static/app/tvheadend.js b/src/webui/static/app/tvheadend.js index cd94f3a51..eb12a2f37 100644 --- a/src/webui/static/app/tvheadend.js +++ b/src/webui/static/app/tvheadend.js @@ -44,6 +44,13 @@ tvheadend.VLC = function(url) { } var vlc = document.createElement('embed'); + var vlcPanel = new Ext.Panel({ + border : false, + layout : 'fit', + bodyStyle: 'background: transparent;', + contentEl: vlc + }); + vlc.setAttribute('type', 'application/x-vlc-plugin'); vlc.setAttribute('pluginspage', 'http://www.videolan.org'); vlc.setAttribute('version', 'VideoLAN.VLCPlugin.2'); @@ -167,7 +174,7 @@ tvheadend.VLC = function(url) { tooltip : 'Volume', disabled : true }, ], - items : [ vlc /*, missingPlugin */] + items : [ vlcPanel /*, missingPlugin */] }); win.on('beforeShow', function() {