Skip to content

Commit

Permalink
chore: Update deps for release version of v8 and merge into next (mis…
Browse files Browse the repository at this point in the history
…ter-ben#84)

* feat: Support Video.js v8 (mister-ben#74)

* feat!: Support Video.js v8

* chore: Drop es-check on verify, as not building for es5

* feat: support multple taps for longer seeks (mister-ben#82)

* feat: Support multiple tap for longer seek

* rmeove <8 code

* chore: update rollup config for es classes

* match master dep vs

* update deps for release
  • Loading branch information
mister-ben authored Nov 23, 2022
1 parent f9c4e89 commit ccf2f4f
Show file tree
Hide file tree
Showing 10 changed files with 16,031 additions and 869 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ Fullscreen control:
## Installation

```sh
npm install --save videojs-mobile-ui
npm install video.js
npm install videojs-mobile-ui
```

Version 1.x requires video.js 8.x as a peer dependency. Lowever video.js versions are not supported. 0.7.0 supports video.js 7.x.

## Plugin Options

### Default options
Expand Down Expand Up @@ -66,7 +69,6 @@ npm install --save videojs-mobile-ui
- *fullscreen.exitOnRotate* `boolean` Whether to leave fullscreen when rotating to portrait (if not locked)
- *fullscreen.lockOnRotate* `boolean` Whether to lock to fullscreen when rotating to landscape
- *fullscreen.lockToLandscapeOnEnter* `boolean` Whether to lock to landscape when entering fullscreen (works even when device rotation is disabled/non-functional)
- *fullscreen.iOS* `boolean` Whether to use fake fullscreen on iOS (needed for controls to work)
- *fullscreen.disabled* `boolean` If true no fullscreen handling except the *deprecated* iOS fullwindow hack
- *touchControls.seekSeconds* `int` Seconds to seek when double-tapping
- *touchControls.tapTimeout* `int` Milliseconds to consider a double-tap
Expand Down
8 changes: 1 addition & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
controls
playsinline
>
<source src="//vjs.zencdn.net/v/oceans.mp4" type="video/mp4" />
<source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm" />
<source src="https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8" type="application/x-mpegurl" />
</video-js>
<ul>
<li><a href="test/">Run unit tests in browser.</a></li>
Expand Down Expand Up @@ -63,10 +62,6 @@ <h2>Options</h2>
id="alwaysLockToLandscape"
/>alwaysLockToLandscape
</li>
<li>
<input type="checkbox" data-section="fullscreen" id="iOS" />iOS
<b>Deprecated</b>
</li>
<li>
<input
type="checkbox"
Expand Down Expand Up @@ -119,7 +114,6 @@ <h2>Options</h2>
exitOnRotate: true,
lockOnRotate: true,
alwaysLockToLandscape: false,
iOS: false,
disabled: false,
},
touchControls: {
Expand Down
3 changes: 3 additions & 0 deletions lang/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"seconds": "Sekunden"
}
2 changes: 1 addition & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"Include your own strings in JSON files.": "Include your own strings in JSON files."
"seconds": "seconds"
}
3 changes: 3 additions & 0 deletions lang/it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"seconds": "secondi"
}
Loading

0 comments on commit ccf2f4f

Please sign in to comment.