summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Urls.js
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2014-06-09 12:56:48 +0200
committerthlo <smarttv640@gmail.com>2014-06-09 12:56:48 +0200
commit478222ca3bee5e20432dcc052a74e955d3fa255a (patch)
tree618002e1c41fa1143eaf0b669723a32f016d2041 /smarttv-client/Javascript/Urls.js
parent1f4c5de1370cacfb1b514d833860c372c3ff3767 (diff)
downloadvdr-plugin-smarttvweb-478222ca3bee5e20432dcc052a74e955d3fa255a.tar.gz
vdr-plugin-smarttvweb-478222ca3bee5e20432dcc052a74e955d3fa255a.tar.bz2
* Time zone and no time source issue fixedWv1.00Pv1.00
* Commands Menu Entry (when enabled in plugin) * Fix of sorting bug (blue key in recordings) * Improved buffering tuning for Live * Fixes with respect to using HLS for Recordings * Touch Remote Control support * New 21:9 crop (picture size key) * Making additional notifications (such as Recording has finished) optional * Show Language Code for Audio Track Select * Bug Fixes
Diffstat (limited to 'smarttv-client/Javascript/Urls.js')
-rw-r--r--smarttv-client/Javascript/Urls.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/smarttv-client/Javascript/Urls.js b/smarttv-client/Javascript/Urls.js
index 3df8f3e..79dda05 100644
--- a/smarttv-client/Javascript/Urls.js
+++ b/smarttv-client/Javascript/Urls.js
@@ -1,3 +1,28 @@
+/*
+function onYouTubePlayerReady(playerId) {
+ Yt.ytPlyr = document.getElementById(playerId);
+
+ Main.debug("onYouTubePlayerReady() playerId: " + playerId + ", player: " + Main.ytPlyr);
+ player.addEventListener("onStateChange", "onPlayerStateChange");
+ player.addEventListener("onError", "onPlayerError");
+ player.setSize(960, 540);
+// player.cueVideoById(videoId);
+ //player.loadVideoById(videoId);
+
+};
+
+var Yt = {
+ ytPlyr : null
+};
+Yt.onPlayerError= function (error) {
+
+};
+
+Yt.onPlayerStateChange = function (state) {
+
+};
+*/
+
var UrlsFetcher = {
qualities : {17 : "144p", 36 : "240p", 18 : "360p", 22 : "720p", 37 : "1080p" },
preference : [36, 18, 22, 37],