From: John Törnblom Date: Fri, 13 May 2011 19:20:14 +0000 (+0200) Subject: Merge remote branch 'upstream/master' into pull_request X-Git-Tag: 2.99~51^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ac11db415e2b0a3a722cb434e1194d959ad1fad;p=thirdparty%2Ftvheadend.git Merge remote branch 'upstream/master' into pull_request Conflicts: src/webui/static/app/tvheadend.js --- 0ac11db415e2b0a3a722cb434e1194d959ad1fad diff --cc src/webui/static/app/tvheadend.js index a2047b09f,5835b3f10..1066f6f86 --- a/src/webui/static/app/tvheadend.js +++ b/src/webui/static/app/tvheadend.js @@@ -34,21 -45,16 +45,20 @@@ tvheadend.VLC = function(url) var vlc = document.createElement('embed'); vlc.setAttribute('type', 'application/x-vlc-plugin'); vlc.setAttribute('pluginspage', 'http://www.videolan.org'); - vlc.setAttribute('version', 'version="VideoLAN.VLCPlugin.2'); - vlc.setAttribute('width', '507'); - vlc.setAttribute('height', '384'); - vlc.setAttribute('autoplay', 'yes'); - vlc.setAttribute('id', 'vlc'); - if(url) { - vlc.setAttribute('src', url); - } else { - vlc.style.display = 'none'; - } + vlc.setAttribute('version', 'VideoLAN.VLCPlugin.2'); + vlc.setAttribute('width', '100%'); + vlc.setAttribute('height', '100%'); + vlc.setAttribute('autoplay', 'no'); + vlc.setAttribute('id', randomString()); + + var missingPlugin = document.createElement('div'); + missingPlugin.style.display = 'none'; + missingPlugin.style.padding = '5px'; + var missingPlugin = document.createElement('div'); + missingPlugin.style.display = 'none'; + missingPlugin.style.padding = '5px'; + var selectChannel = new Ext.form.ComboBox({ loadingText: 'Loading...', width: 200,