Commit 7d84bd22 authored by Xiaowu Zhang's avatar Xiaowu Zhang

check message syntax

parent 365aeeb1
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
g.canvas = g.__element.getElementsByTagName("canvas")[0]; g.canvas = g.__element.getElementsByTagName("canvas")[0];
if (MediaSource === undefined) { if (MediaSource === undefined) {
info = g.__element.getElementsByClassName("info")[0]; info = g.__element.getElementsByClassName("info")[0];
info.innerHTML = "<ul>\n<li>for a better performence, pleasa enable MediaSource</li>\n<li>1.Type about:config into the web browser's address bar and hit enter.\nConfirm that you will be careful if a warning message is displayed.</li>\n<li>2.search for media.mediasource.enabled and double-click the name.</li>\n</ul>"; info.innerHTML = "<ul>\n<li>for a better performance, pleasa enable MediaSource</li>\n<li>1.Type about:config into the web browser's address bar and hit enter.\nConfirm that you will be careful if a warning message is displayed.</li>\n<li>2.search for media.mediasource.enabled and double-click the name.</li>\n</ul>";
return; return;
} }
g.mediaSource = new MediaSource(); g.mediaSource = new MediaSource();
......
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
g.video = g.__element.getElementsByTagName("video")[0]; g.video = g.__element.getElementsByTagName("video")[0];
if (MediaSource === undefined) { if (MediaSource === undefined) {
info = g.__element.getElementsByClassName("info")[0]; info = g.__element.getElementsByClassName("info")[0];
info.innerHTML = "<ul>\n<li>for a better performence, pleasa enable MediaSource</li>\n<li>1.Type about:config into the web browser's address bar and hit enter.\nConfirm that you will be careful if a warning message is displayed.</li>\n<li>2.search for media.mediasource.enabled and double-click the name.</li>\n</ul>"; info.innerHTML = "<ul>\n<li>for a better performance, pleasa enable MediaSource</li>\n<li>1.Type about:config into the web browser's address bar and hit enter.\nConfirm that you will be careful if a warning message is displayed.</li>\n<li>2.search for media.mediasource.enabled and double-click the name.</li>\n</ul>";
return; return;
} }
g.seeking = false; g.seeking = false;
......
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
if (MediaSource === undefined) { if (MediaSource === undefined) {
info = g.__element.getElementsByClassName('info')[0]; info = g.__element.getElementsByClassName('info')[0];
info.innerHTML = "<ul> info.innerHTML = "<ul>
<li>for a better performence, pleasa enable MediaSource</li> <li>for a better performance, pleasa enable MediaSource</li>
<li>1.Type about:config into the web browser's address bar and hit enter. <li>1.Type about:config into the web browser's address bar and hit enter.
Confirm that you will be careful if a warning message is displayed.</li> Confirm that you will be careful if a warning message is displayed.</li>
<li>2.search for media.mediasource.enabled and double-click the name.</li> <li>2.search for media.mediasource.enabled and double-click the name.</li>
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
if (MediaSource === undefined) { if (MediaSource === undefined) {
info = g.__element.getElementsByClassName('info')[0]; info = g.__element.getElementsByClassName('info')[0];
info.innerHTML = "<ul> info.innerHTML = "<ul>
<li>for a better performence, pleasa enable MediaSource</li> <li>for a better performance, pleasa enable MediaSource</li>
<li>1.Type about:config into the web browser's address bar and hit enter. <li>1.Type about:config into the web browser's address bar and hit enter.
Confirm that you will be careful if a warning message is displayed.</li> Confirm that you will be careful if a warning message is displayed.</li>
<li>2.search for media.mediasource.enabled and double-click the name.</li> <li>2.search for media.mediasource.enabled and double-click the name.</li>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment