encapsulate the vlc plugin with a panel. fixes vlc plugin after extjs3 upgrade
This commit is contained in:
parent
a6cb52a580
commit
d16bedea3f
1 changed files with 8 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue