mirror of
https://github.com/videojs/video.js.git
synced 2024-11-28 08:58:46 +02:00
d7f840a969
Squashed commit of the following: commit81d785980d
Author: Steve Heffernan <steve@zencoder.com> Date: Mon May 12 12:53:59 2014 -0700 Removed unneeded comments commitc7ad7322e4
Author: Steve Heffernan <steve@zencoder.com> Date: Fri May 9 14:29:31 2014 -0700 Addressed comments in #1191 Now clearing errors on loadstart events. Added some default error messages. commita742239d0e
Author: Steve Heffernan <steve@zencoder.com> Date: Wed May 7 15:38:31 2014 -0700 Fixed the error display to hide by default commit561c3f8449
Author: Steve Heffernan <steve@zencoder.com> Date: Mon May 5 10:44:47 2014 -0700 Added support for displaying a message for the error. commit2214207842
Author: Steve Heffernan <steve@zencoder.com> Date: Fri May 2 17:18:22 2014 -0700 Updated spinner to hide on all errors commit95d7e70274
Author: Steve Heffernan <steve@zencoder.com> Date: Fri May 2 15:37:44 2014 -0700 Exported ErrorDisplay commit11ca9cdd8d
Author: Steve Heffernan <steve@zencoder.com> Date: Fri May 2 15:35:46 2014 -0700 Updated flash tech to support new errors commit56cbe66f42
Author: Steve Heffernan <steve@zencoder.com> Date: Fri May 2 13:06:49 2014 -0700 Started on better error handling and displaying in the UI when an error has occurred. commit740014c57b
Author: Steve Heffernan <steve@zencoder.com> Date: Wed Apr 30 16:11:33 2014 -0700 Added better global log/error/warn functions. Added sinon.js for stubs in tests. Updated grunt version to satisfy peer dependency warning.
64 lines
1.6 KiB
HTML
64 lines
1.6 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Video.js Test Suite</title>
|
|
|
|
<!-- Sinon -->
|
|
<script src="../node_modules/sinon/pkg/sinon.js"></script>
|
|
<script src="../node_modules/sinon/pkg/sinon-ie.js"></script>
|
|
|
|
<!-- QUnit -->
|
|
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" />
|
|
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
|
|
|
|
<!-- Video.js CSS -->
|
|
<link rel="stylesheet" href="../build/files/video-js.css" type="text/css">
|
|
|
|
<!-- LIB COMPILED WITH NOT COMPILED TESTS
|
|
Check publicly available APIs against compiled lib
|
|
-->
|
|
<script type="text/javascript">
|
|
|
|
// Test AMD Support
|
|
// window.define = function(a, b){
|
|
// console.log(a, b);
|
|
// };
|
|
// define.amd = true;
|
|
|
|
// Test CJS Support
|
|
// Have to remove qunit and tests to because module becomes a function
|
|
// window.module = window.exports = {};
|
|
// window.module.exports = {};
|
|
|
|
(function(){
|
|
|
|
// ADD NEW TEST FILES HERE
|
|
var tests = [
|
|
'test/unit/test-helpers.js',
|
|
'test/unit/api.js'
|
|
];
|
|
var projectRoot = '../';
|
|
var scripts = [];
|
|
|
|
scripts = scripts.concat(['build/files/minified.video.js'], tests);
|
|
|
|
for (var i = 0; i < scripts.length; i++) {
|
|
document.write( "<script src='" + projectRoot + scripts[i] + "'><\/script>" );
|
|
}
|
|
|
|
})()
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<h1 id="qunit-header">Video.js Test Suite</h1>
|
|
<h2 id="qunit-banner"></h2>
|
|
<div id="qunit-testrunner-toolbar"></div>
|
|
<h2 id="qunit-userAgent"></h2>
|
|
<ol id="qunit-tests"></ol>
|
|
<div id="qunit-fixture"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|