From ccf2f4f3e9f94c26c0f8aa81b3d428eaf121892e Mon Sep 17 00:00:00 2001 From: mister-ben Date: Wed, 23 Nov 2022 21:39:38 +0100 Subject: [PATCH] chore: Update deps for release version of v8 and merge into next (#84) * feat: Support Video.js v8 (#74) * feat!: Support Video.js v8 * chore: Drop es-check on verify, as not building for es5 * feat: support multple taps for longer seeks (#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 --- README.md | 6 +- index.html | 8 +- lang/de.json | 3 + lang/en.json | 2 +- lang/it.json | 3 + package-lock.json | 16716 ++++++++++++++++++++++++++++++++++++++++-- package.json | 8 +- src/plugin.css | 14 +- src/plugin.js | 38 +- src/touchOverlay.js | 102 +- 10 files changed, 16031 insertions(+), 869 deletions(-) create mode 100644 lang/de.json create mode 100644 lang/it.json diff --git a/README.md b/README.md index c13ed85..517d7b2 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/index.html b/index.html index 3381b32..614ce1d 100644 --- a/index.html +++ b/index.html @@ -24,8 +24,7 @@ controls playsinline > - - +