Skip to content

Commit

Permalink
fix netlify
Browse files Browse the repository at this point in the history
use another selector
  • Loading branch information
mister-ben committed Feb 3, 2024
1 parent 52e2e89 commit 831a23a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 112 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<link rel="icon" href="logo.svg">
<link href="node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
<link href="node_modules/video.js/dist/video-js.css" rel="stylesheet">
<link href="node_modules/jb-videojs-hls-quality-selector/dist/videojs-hls-quality-selector.css" rel="stylesheet">
<style>
.form-check {
background-color: hsl(0, 0%, 90%);
Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"@videojs/generator-helpers": "~3.1.0",
"bootstrap": "^5.1.0",
"d3": "^3.4.8",
"jb-videojs-hls-quality-selector": "^2.0.2",
"jsdoc": "^3.6.11",
"karma": "^6.4.0",
"lodash": "^4.17.4",
Expand Down
6 changes: 4 additions & 2 deletions scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@
'node_modules/video.js/dist/alt/video.core',
'node_modules/videojs-contrib-eme/dist/videojs-contrib-eme',
'node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels',
'./scripts/rendition-selector'
'node_modules/jb-videojs-hls-quality-selector/dist/jb-videojs-hls-quality-selector'

].map(function(url) {
return url + (event.target.checked ? '.min' : '') + '.js';
Expand Down Expand Up @@ -595,7 +595,9 @@

player = window.player = window.videojs(videoEl, {
plugins: {
renditionSelector: {}
hlsQualitySelector: {
displayCurrentQuality: true
}
},
liveui: stateEls.liveui.checked,
enableSourceset: mirrorSource,
Expand Down
6 changes: 3 additions & 3 deletions scripts/netlify.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const files = [
'node_modules/videojs-contrib-eme/dist/videojs-contrib-eme.min.js',
'node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels.js',
'node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels.min.js',
'node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.css',
'node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.js',
'node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.min.js',
'node_modules/jb-videojs-hls-quality-selector/dist/videojs-hls-quality-selector.css',
'node_modules/jb-videojs-hls-quality-selector/dist/jb-videojs-hls-quality-selector.js',
'node_modules/jb-videojs-hls-quality-selector/dist/jb-videojs-hls-quality-selector.min.js',
'node_modules/bootstrap/dist/js/bootstrap.js',
'node_modules/bootstrap/dist/css/bootstrap.css',
'node_modules/d3/d3.min.js',
Expand Down
107 changes: 0 additions & 107 deletions scripts/rendition-selector.js

This file was deleted.

0 comments on commit 831a23a

Please sign in to comment.