Skip to content
This repository was archived by the owner on Apr 30, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
361ea08
Update dependencies.
he3lixxx Nov 6, 2019
abda3ef
Fix node-resolve deprecation warning in bundle
he3lixxx Nov 6, 2019
5e83e99
Update devDependencides: babel, gulp-babel and babel-preset-es2015 (r…
he3lixxx Nov 6, 2019
e456851
More minor updates, fix missing packages, remove unused packages. Rol…
he3lixxx Nov 15, 2019
3287409
Semantically use button tags
he3lixxx Nov 15, 2019
0415f8e
Allow dragging the slider in the progress bars.
he3lixxx Nov 15, 2019
876f6f6
Fix playlist-chapter-list-switch test querying for anchor instead of …
he3lixxx Dec 4, 2019
85ccfbf
Prevent long loading queue when dragging the video position slider. Y…
he3lixxx Dec 4, 2019
bf1088e
Update player position when url hash fragment changes
he3lixxx Dec 5, 2019
a6a315e
Linting fixes
he3lixxx Aug 24, 2020
b2ffe33
Allow specifying custom playback rates in the player configuration
he3lixxx Aug 24, 2020
e8aa04e
Node 15
he3lixxx Mar 16, 2021
3a8ca11
Update dependencies where it works out of the box. HLS and rollup TODO
he3lixxx Mar 16, 2021
24e1f1f
Drop ie11 support for better and faster builds
he3lixxx Mar 18, 2021
feb2627
Update hls.js
he3lixxx Mar 19, 2021
4e5576a
npm audit fix
he3lixxx Mar 19, 2021
9f030bb
Save and restore quizOverlayEnabled state in local storage
he3lixxx Apr 16, 2021
953c8c9
Fix accidentally in-place reordered playback rates
he3lixxx Apr 16, 2021
98aa21b
Add new keyboard shortcuts
he3lixxx Apr 16, 2021
515710e
Keyboard shortcut: Allow skipping by frame using , and .
he3lixxx Apr 16, 2021
e8603e5
Fix jumping back a few frames on pause
he3lixxx Apr 16, 2021
fbbaedb
Fix linting errors
he3lixxx Oct 23, 2021
e94308c
Prevent changing of video playback position when editing notes
he3lixxx Oct 23, 2021
65dea64
Update dependencies
he3lixxx Oct 23, 2021
2362218
Update hls.js
he3lixxx Oct 23, 2021
836f848
npm audit fix
he3lixxx Oct 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 0 additions & 85 deletions Gulpfile.js

This file was deleted.

15 changes: 2 additions & 13 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,6 @@
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/jumbotron.css" rel="stylesheet">

<!-- IE Polyfills -->
<script>
if(!('ActiveXObject' in window)) {
document.write('<!--');
}
</script>
<script src="../node_modules/url-polyfill/url-polyfill.min.js"></script>
<script src="../node_modules/babel-polyfill/dist/polyfill.min.js"></script>
<!-- DO NOT REMOVE -->

<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>

<script crossorigin="anonymous" type="module" src="../video-player.js"></script>

<style>
Expand Down Expand Up @@ -513,7 +501,8 @@ <h1>Video Player Framework</h1>
}
},
"noteApi": "noteApi",
"downloadUri": "/this/is/the/download/URI"
"downloadUri": "/this/is/the/download/URI",
"positionInUrlFragment": true
}'>
</video-player>
<!-- Example row of columns -->
Expand Down
5 changes: 3 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The player configuration is provided as JSON object:
* **initialState** (object): The initial state the player has when loaded.
* **playState** (string):`<["PLAYING","PAUSED"]>` (default: `"PAUSED"`)
* **position** (number): Video position in seconds. (default: `0`)
* **playbackRate** (number):`<[0.7,1,1.3,1.5,1.8,2]>` (default: `1`)
* **playbackRate** (number): (default: `1`)
* **quality** (string):`<["hls","hd","sd"]>` (default: `"best quality available"`)
* **volume** (number):`<0...1>` (default: `1`)
* **muted** (boolean): (default: `false`)
Expand All @@ -45,10 +45,11 @@ The player configuration is provided as JSON object:
* **showCaptions** (boolean): Enables captions. Additionally, `captionLanguage` needs to be set. (default: `false`)
* **showInteractiveTranscript** (boolean): Enables interactive transcript. Additionally, `captionLanguage` needs to be set. (default: `false`)
* **resizerRatios** (array): The ratios of the resizers. Ratio is calculated by `leftVideo.width / rightVideo.width`. Per default, videos were aligned to have the same height.
* **playbackRates** (array): The playback rates the user can choose from in the selection menu (default: `[0.7,1,1.3,1.5,1.8,2]`)
* **userPreferences** (object): Override parts of the default/initial/saved state. Meant to be provided by the server based on the current user.
* **playState** (string):`<["PLAYING","PAUSED"]>` (default: `"PAUSED"`)
* **position** (number): Video position in seconds. (default: `0`)
* **playbackRate** (number):`<[0.7,1,1.3,1.5,1.8,2]>` (default: `1`)
* **playbackRate** (number): (default: `1`)
* **quality** (string):`<["hls","hd","sd"]>` (default: `"best quality available"`)
* **volume** (number):`<0...1>` (default: `1`)
* **muted** (boolean): (default: `false`)
Expand Down
Loading