1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-27 11:22:06 +02:00

Cleaned up test logging. Added fallback message for no video support.

This commit is contained in:
Steve Heffernan 2013-01-10 13:48:41 -08:00
parent 68441c7141
commit 06e3ec9dce
3 changed files with 5 additions and 3 deletions

View File

@ -698,7 +698,9 @@ vjs.Player.prototype.src = function(source){
this.loadTech(techName, source);
}
} else {
vjs.log('No compatible source and media technology were found.');
this.el_.appendChild(vjs.createEl('p', {
innerHTML: 'Sorry, no compatible source and playback technology were found for this video. Try using another browser like <a href="http://www.google.com/chrome">Google Chrome</a> or download the latest <a href="http://get.adobe.com/flashplayer/">Adobe Flash Player</a>.'
}));
}
// Case: Source object { src: '', type: '' ... }

View File

@ -19,7 +19,7 @@
</head>
<body>
<div>
<h1 id="qunit-header">Bootstrap Plugin Test Suite</h1>
<h1 id="qunit-header">Video.js Test Suite</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>

View File

@ -39,7 +39,7 @@
</head>
<body>
<div>
<h1 id="qunit-header">Bootstrap Plugin Test Suite</h1>
<h1 id="qunit-header">Video.js Test Suite</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>