From 8b1f8e341c2c9c4dbec82a39bf7bf54497e3c00a Mon Sep 17 00:00:00 2001 From: Randall Barker Date: Tue, 7 Oct 2014 14:41:45 -0700 Subject: [PATCH] Updating to latest code. --- chromecast.html | 140 ++++++++++++++++++++---------------------------- demostyle.css | 7 +++ mozdemo.js | 5 -- 3 files changed, 64 insertions(+), 88 deletions(-) diff --git a/chromecast.html b/chromecast.html index 65fc83a..3c0c455 100644 --- a/chromecast.html +++ b/chromecast.html @@ -4,111 +4,85 @@ - - - + + + - hello - world 5 - -
-
-
Open this link in another tab or browser
-
right click here
-
That other tab or browser will have text in a red box that you'll paste here:
- - -
- -
+
-
-

Remote

-
-
-

-
- -
-
+
- - + } catch(e) {ui_log(e);} + } + + diff --git a/demostyle.css b/demostyle.css index 88f2bae..5b97b72 100644 --- a/demostyle.css +++ b/demostyle.css @@ -31,3 +31,10 @@ html, body { clear:both; display:none; } + +#video { + width:100%; + height:100%; + margin-left: auto; + margin-right: auto; +} diff --git a/mozdemo.js b/mozdemo.js index 8451279..ed97fb3 100644 --- a/mozdemo.js +++ b/mozdemo.js @@ -21,11 +21,6 @@ var color_log = function(msg, color) { var out_queue = [] var in_queue = null; -function answer_click() { - var textarea = document.getElementById("answer"); - in_queue = JSON.parse(textarea.value); - console.log("got " + in_queue.length + " messages"); -}