Skip to content

Commit

Permalink
chore: update tests and pages for video.js 7 (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
forbesjo committed Jun 6, 2018
1 parent 9508aa7 commit d6f5005
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/multiple-alternative-audio-tracks/index.html
Expand Up @@ -15,7 +15,7 @@ <h1>Multiple Alternative Audio Tracks</h1>
<select id="enabled-audio-track" name="enabled-audio-track">
</select>
</div>
<script src="/node_modules/video.js/dist/video.js"></script>
<script src="/node_modules/video.js/dist/alt/video.core.js"></script>
<script src="/dist/videojs-http-streaming.js"></script>
<script>
(function(window, videojs) {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -52,7 +52,7 @@
<li><a href="examples">Browse Examples</a></li>
</ul>

<script src="node_modules/video.js/dist/video.js"></script>
<script src="node_modules/video.js/dist/alt/video.core.js"></script>
<script src="node_modules/videojs-contrib-eme/dist/videojs-contrib-eme.js"></script>

<script src="dist/videojs-http-streaming.js"></script>
Expand Down
77 changes: 63 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/index.html
Expand Up @@ -12,7 +12,7 @@
<!-- NOTE in order for test to pass we require sinon 1.10.2 exactly -->
<script src="../node_modules/sinon/pkg/sinon.js"></script>
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
<script src="../node_modules/video.js/dist/video.js"></script>
<script src="../node_modules/video.js/dist/alt/video.core.js"></script>
<script src="../dist-test/videojs-http-streaming.test.js"></script>

</body>
Expand Down
2 changes: 1 addition & 1 deletion test/karma.conf.js
Expand Up @@ -21,7 +21,7 @@ module.exports = function(config) {
},
files: [
'node_modules/sinon/pkg/sinon.js',
'node_modules/video.js/dist/video.js',
'node_modules/video.js/dist/alt/video.core.js',
'node_modules/video.js/dist/video-js.css',
'dist-test/videojs-http-streaming.test.js'
],
Expand Down
2 changes: 1 addition & 1 deletion utils/stats/index.html
Expand Up @@ -7,7 +7,7 @@
<link href="../../node_modules/video.js/dist/video-js.css" rel="stylesheet">

<!-- video.js -->
<script src="../../node_modules/video.js/dist/alt/video.novtt.js"></script>
<script src="../../node_modules/video.js/dist/alt/video.core.js"></script>

<!-- EME (Encrypted Media Extensions) plugin -->
<script src="../../node_modules/videojs-contrib-eme/dist/videojs-contrib-eme.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion utils/switcher/index.html
Expand Up @@ -189,7 +189,7 @@ <h3>videojs-http-streaming</h3>
</div>
<div id="qunit-fixture"></div>
<script src="/node_modules/sinon/pkg/sinon.js"></script>
<script src="/node_modules/video.js/dist/video.js"></script>
<script src="/node_modules/video.js/dist/alt/video.core.js"></script>
<script src="/node_modules/d3/d3.min.js"></script>
<script src="/dist-test/switcher.js"></script>
</body>
Expand Down

0 comments on commit d6f5005

Please sign in to comment.