summaryrefslogtreecommitdiff
path: root/stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/stream.php b/stream.php
index e304d9c..35c8b65 100644
--- a/stream.php
+++ b/stream.php
@@ -61,7 +61,8 @@ unset($db);
if(canPlay != true){
var canWebm = false;
if(v.canPlayType && v.canPlayType('video/webm').replace(/no/, '')){
- if(window.confirm("It seems your browser doesn't support mp4 videos. Do you want to convert it to webm?")){
+ if(window.confirm('It seems your browser doesn\'t support mp4 videos. Do you want to convert it to WebM?')){
+ document.getElementById('middle').innerHTML='<div class="row"><h3>Converting the video to <a href="//en.wikipedia.org/wiki/WebM" title="Wikipedia: WebM" target="__blank">WebM.</h3></div><div class="row"><br><br><img src="/static/ajax-loader.gif" alt="ajax-loader"/></div>';
doVideo("convert");
}
} else {
@@ -74,7 +75,7 @@ unset($db);
doVideo("player");
}
} else if(r.status == 504){
- document.getElementById('middle').innerHTML="<h1>The connection timed out</h1><br>Please refresh the page.";
+ document.getElementById('middle').innerHTML="<h3>The connection timed out</h3><br>Please refresh the page.";
window.reload;
}
}
@@ -94,7 +95,7 @@ unset($db);
<div class="text-center">
<div id='middle'>
<div class="row">
- <h1>This may take <span id='counter'>some</span> time.</h1>
+ <h3>This may take <span id='counter'>some</span> time.</h3>
</div>
<div class="row">
<p>( meanwhile we are proving P = NP ...&#160; &#160;)</p>