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:
parent
68441c7141
commit
06e3ec9dce
@ -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: '' ... }
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user