diff --git a/assets/vendor/plyr/.editorconfig b/assets/vendor/plyr/.editorconfig
index dd9beec..8c580cb 100644
--- a/assets/vendor/plyr/.editorconfig
+++ b/assets/vendor/plyr/.editorconfig
@@ -4,7 +4,7 @@ root = true
[*]
charset = utf-8
end_of_line = lf
-indent_size = 4
+indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
diff --git a/assets/vendor/plyr/.github/issue_template.md b/assets/vendor/plyr/.github/issue_template.md
index 54f4550..44e1fcb 100644
--- a/assets/vendor/plyr/.github/issue_template.md
+++ b/assets/vendor/plyr/.github/issue_template.md
@@ -1,3 +1,3 @@
PLEASE USE OUR SPECIFIC ISSUE TEMPLATES for bug reports, features and improvement suggestions.
-Our issue tracker is not for support questions. If you need help, follow our support instructions: https://github.com/sampotts/plyr/blob/master/contributing.md#support
+Our issue tracker is not for support questions. If you need help, follow our support instructions: https://github.com/sampotts/plyr/blob/master/CONTRIBUTING.md#support
diff --git a/assets/vendor/plyr/.gitpod.yml b/assets/vendor/plyr/.gitpod.yml
new file mode 100644
index 0000000..c4a6705
--- /dev/null
+++ b/assets/vendor/plyr/.gitpod.yml
@@ -0,0 +1,6 @@
+tasks:
+ - before: npm install && npm i gulp -g
+ command: gulp
+ports:
+ - port: 3000
+ onOpen: open-preview
diff --git a/assets/vendor/plyr/.npmignore b/assets/vendor/plyr/.npmignore
index 34fa175..1caa61f 100644
--- a/assets/vendor/plyr/.npmignore
+++ b/assets/vendor/plyr/.npmignore
@@ -9,4 +9,4 @@ yarn.lock
package-lock.json
*.mp4
*.webm
-!dist/blank.mp4
\ No newline at end of file
+!dist/blank.mp4
diff --git a/assets/vendor/plyr/.nvmrc b/assets/vendor/plyr/.nvmrc
index 12591bd..4e8c43e 100644
--- a/assets/vendor/plyr/.nvmrc
+++ b/assets/vendor/plyr/.nvmrc
@@ -1 +1 @@
-v13.8.0
\ No newline at end of file
+v13.8.0
diff --git a/assets/vendor/plyr/.prettierrc b/assets/vendor/plyr/.prettierrc
index cee783d..ed20200 100644
--- a/assets/vendor/plyr/.prettierrc
+++ b/assets/vendor/plyr/.prettierrc
@@ -1,7 +1,7 @@
{
- "useTabs": false,
- "tabWidth": 4,
- "singleQuote": true,
- "trailingComma": "all",
- "printWidth": 120
+ "useTabs": false,
+ "tabWidth": 2,
+ "singleQuote": true,
+ "trailingComma": "all",
+ "printWidth": 120
}
diff --git a/assets/vendor/plyr/.stylelintrc.json b/assets/vendor/plyr/.stylelintrc.json
index 83175ed..fc13954 100644
--- a/assets/vendor/plyr/.stylelintrc.json
+++ b/assets/vendor/plyr/.stylelintrc.json
@@ -1,25 +1,25 @@
{
- "plugins": ["stylelint-selector-bem-pattern", "stylelint-scss"],
- "extends": ["stylelint-config-recommended", "stylelint-config-sass-guidelines", "stylelint-config-prettier"],
- "rules": {
- "selector-class-pattern": null,
- "selector-no-qualifying-type": [
- true,
- {
- "ignore": ["attribute", "class"]
- }
- ],
- "string-no-newline": null,
- "indentation": 4,
- "string-quotes": "single",
- "max-nesting-depth": 2,
- "plugin/selector-bem-pattern": {
- "preset": "bem",
- "componentName": "(([a-z0-9]+(?!-$)-?)+)",
- "componentSelectors": {
- "initial": "\\.{componentName}(((__|--)(([a-z0-9\\[\\]'=]+(?!-$)-?)+))+)?$"
- },
- "ignoreSelectors": [".*\\.has-.*", ".*\\.is-.*"]
- }
+ "plugins": ["stylelint-selector-bem-pattern", "stylelint-scss"],
+ "extends": ["stylelint-config-recommended", "stylelint-config-sass-guidelines", "stylelint-config-prettier"],
+ "rules": {
+ "selector-class-pattern": null,
+ "selector-no-qualifying-type": [
+ true,
+ {
+ "ignore": ["attribute", "class"]
+ }
+ ],
+ "string-no-newline": null,
+ "indentation": 2,
+ "string-quotes": "single",
+ "max-nesting-depth": 2,
+ "plugin/selector-bem-pattern": {
+ "preset": "bem",
+ "componentName": "(([a-z0-9]+(?!-$)-?)+)",
+ "componentSelectors": {
+ "initial": "\\.{componentName}(((__|--)(([a-z0-9\\[\\]'=]+(?!-$)-?)+))+)?$"
+ },
+ "ignoreSelectors": [".*\\.has-.*", ".*\\.is-.*"]
}
+ }
}
diff --git a/assets/vendor/plyr/changelog.md b/assets/vendor/plyr/changelog.md
index 077b899..c268bd1 100644
--- a/assets/vendor/plyr/changelog.md
+++ b/assets/vendor/plyr/changelog.md
@@ -1,201 +1,231 @@
+### v3.6.2
+
+- Fixes for CSS Custom Property related errors in some build tools (thanks @Bashev)
+- Fixes for custom controls as element (thanks @taylorchu)
+- Added missing TypeScript interface for preview thumbnail options (thanks @taylorchu)
+
+### v3.6.1
+
+- Safari bug fix
+
+## v3.6.0
+
+- You can now easily change colors using CSS Custom Properties. See the [README](README.md#customizing-the-css).
+- Bug fix for Vimeo fullscreen.
+- Various typos (thanks @likev)
+- Preload TextTracks as per default video element (thanks @theprojectsomething)
+- Features/fullscreen container (thanks @theprojectsomething)
+- Ignore internal play promises (thanks @ydylla)
+- Ads plugin fixes to allow multiple VAST requests (thanks @Steejo)
+- Fix shadowroot (thanks @jnoordsij)
+- Add financial contributors for Open Collective (thanks @monkeywithacupcake)
+- Update the gitpod setup description to be more precise. (thanks @nisarhassan12)
+- Completely hide SVG icons to screen readers (thanks @LeBenLeBen)
+- Preview thumbnails via src:callback() (thanks @doublex)
+- Add missing Typescripts types and options (thanks @hug963)
+- Use number instead of string in TS quality definitions (thanks @mogzol)
+- Fix Vimeo playback rate (thanks @hug963)
+- Fix issue when controls config is string or element (thanks @CzBiX)
+- Simplify contributions by fully automating the dev setup with gitpod (thanks @nisarhassan12)
+
### v3.5.10
-- iOS volume display fix
+- iOS volume display fix
### v3.5.9
-- Fix for regression with volume control width
-- Ensure poster image is not downloaded again for HTML5 videos
+- Fix for regression with volume control width
+- Ensure poster image is not downloaded again for HTML5 videos
### v3.5.8
-- Added `flex-direction` property to fix some issues introduced in v3.5.7 when using custom CSS
-- Cleaned up the organisation of some of the SCSS files (should not effect CSS output)
-- Added `referrerPolicy` option for Vimeo to prevent an issue present in the demo site
-- Remove all Vimeo controls for Pro & Premium accounts
-- Improve thumbnail size calculations when size is set per css (thanks @ydylla)
-- Add previewThumbnails source setter (thanks @ydylla)
-- More speed setting logic improvements
+- Added `flex-direction` property to fix some issues introduced in v3.5.7 when using custom CSS
+- Cleaned up the organisation of some of the SCSS files (should not effect CSS output)
+- Added `referrerPolicy` option for Vimeo to prevent an issue present in the demo site
+- Remove all Vimeo controls for Pro & Premium accounts
+- Improve thumbnail size calculations when size is set per css (thanks @ydylla)
+- Add previewThumbnails source setter (thanks @ydylla)
+- More speed setting logic improvements
### v3.5.7
-- Typescript typings (thanks @ondratra)
-- `togglePlay` now also returns a `Promise` (thanks @azizhk)
-- Documentation improvements and typo fixes (thanks @ffpetrovic, @skerbis, @ayunami2000, @pjbaert, @MaxGiting, @0xflotus and @thatrobotdev)
-- Accessibility tweak for the play button (thanks @lunika)
-- Fix for ads configuration (thanks @SoftCreatR)
-- Fix handling listener return value (thanks @taion)
-- Added localisation key for PIP (picture-in-picture) (thanks @lmislm)
-- Preserve viewBox attribute in SVG sprite symbols (thanks @bseib)
-- Fix being unable to unmute autoplayed video on iOS (thanks @sumanbh)
-- Fixed Plyr container not resizing responsively (thanks @shravan2x)
-- Change vimeo demo video (thanks @thatrobotdev)
-- Fix for `Uncaught RangeError: Maximum call stack size exceeded` (thanks @laukstein)
-- Improve fullscreen experience on some devices (thanks @savroff)
-- Improvements to buffering state for embedded players (thanks @doostinharrell)
-- Prevents IE11 with resetOnEnd option set to true to play video again (thanks @Felipe K. De Boni)
-- Fix for multiple poster image downloads (use the native poster only for HTML5 videos)
-- Various presentational fixes
-- Removed logic to hide/show volume controls based on audio track detection due to it's problematic nature. If you want to hide volume control, use the `controls` option to do so.
-- Fix preview thumbnail scrubbing not working on mobile touch devices (thanks @ydylla)
-- Add download attribute to download button (thanks @Code1110)
-- Trap keyboard focus only when fullscreen (thanks @k-jensen)
-- Improvements to speed options - you can now specify all options in the UI (YouTube and Vimeo only accept 0.5-2) (thanks @ydylla)
-- Improve/fix quality change state restoring (thanks @ydylla)
+- Typescript typings (thanks @ondratra)
+- `togglePlay` now also returns a `Promise` (thanks @azizhk)
+- Documentation improvements and typo fixes (thanks @ffpetrovic, @skerbis, @ayunami2000, @pjbaert, @MaxGiting, @0xflotus and @thatrobotdev)
+- Accessibility tweak for the play button (thanks @lunika)
+- Fix for ads configuration (thanks @SoftCreatR)
+- Fix handling listener return value (thanks @taion)
+- Added localisation key for PIP (picture-in-picture) (thanks @lmislm)
+- Preserve viewBox attribute in SVG sprite symbols (thanks @bseib)
+- Fix being unable to unmute autoplayed video on iOS (thanks @sumanbh)
+- Fixed Plyr container not resizing responsively (thanks @shravan2x)
+- Change vimeo demo video (thanks @thatrobotdev)
+- Fix for `Uncaught RangeError: Maximum call stack size exceeded` (thanks @laukstein)
+- Improve fullscreen experience on some devices (thanks @savroff)
+- Improvements to buffering state for embedded players (thanks @doostinharrell)
+- Prevents IE11 with resetOnEnd option set to true to play video again (thanks @Felipe K. De Boni)
+- Fix for multiple poster image downloads (use the native poster only for HTML5 videos)
+- Various presentational fixes
+- Removed logic to hide/show volume controls based on audio track detection due to it's problematic nature. If you want to hide volume control, use the `controls` option to do so.
+- Fix preview thumbnail scrubbing not working on mobile touch devices (thanks @ydylla)
+- Add download attribute to download button (thanks @Code1110)
+- Trap keyboard focus only when fullscreen (thanks @k-jensen)
+- Improvements to speed options - you can now specify all options in the UI (YouTube and Vimeo only accept 0.5-2) (thanks @ydylla)
+- Improve/fix quality change state restoring (thanks @ydylla)
_Note:_ This update contains CSS changes.
### v3.5.6
-- Another Edge fix (thanks Nick Hawk via Slack)
+- Another Edge fix (thanks Nick Hawk via Slack)
### v3.5.5
-- YouTube fix for when there are other embeds on the page (thanks @aFarkas)
-- Separated demo dependencies into their own package.json
-- Fix for Edge controls flexbox issue when resizing the player (thanks Nick Hawk via Slack)
-- More aspect ratio fixes
+- YouTube fix for when there are other embeds on the page (thanks @aFarkas)
+- Separated demo dependencies into their own package.json
+- Fix for Edge controls flexbox issue when resizing the player (thanks Nick Hawk via Slack)
+- More aspect ratio fixes
### v3.5.4
-- Added: Set download URL via new setter
-- Improvement: The order of the `controls` option now effects the order in the DOM - i.e. you can re-order the controls - Note: this may break any custom CSS you have setup. Please see the changes in the PR to the default SASS
-- Fixed issue with empty controls and preview thumbs
-- Fixed issue with setGutter call (from Sentry)
-- Fixed issue with initial selected speed not working
-- Added notes on `autoplay` config option and browser compatibility
-- Fixed issue with ads volume not matching current content volume
-- Fixed race condition where ads were loading during source change
-- Improvement: Automatic aspect ratio for YouTube is now supported, meaning all aspect ratios are set based on media content - Note: we're now using a different API to get YouTube video metadata so you may need to adjust any CSPs you have setup
-- Fix for menu in the Shadow DOM (thanks @emielbeinema)
+- Added: Set download URL via new setter
+- Improvement: The order of the `controls` option now effects the order in the DOM - i.e. you can re-order the controls - Note: this may break any custom CSS you have setup. Please see the changes in the PR to the default SASS
+- Fixed issue with empty controls and preview thumbs
+- Fixed issue with setGutter call (from Sentry)
+- Fixed issue with initial selected speed not working
+- Added notes on `autoplay` config option and browser compatibility
+- Fixed issue with ads volume not matching current content volume
+- Fixed race condition where ads were loading during source change
+- Improvement: Automatic aspect ratio for YouTube is now supported, meaning all aspect ratios are set based on media content - Note: we're now using a different API to get YouTube video metadata so you may need to adjust any CSPs you have setup
+- Fix for menu in the Shadow DOM (thanks @emielbeinema)
### v3.5.3
-- Improved the usage of the `ratio` config option; it now works as expected and for all video types. The default has not changed, it is to dynamically, where possible (except YouTube where 16:9 is used) determine the ratio from the media source so this is not a breaking change.
-- Added new `ratio` getter and setter
-- Fix: Properly clear all timeouts on destroy
-- Fix: Allow absolute paths in preview thumbnails
-- Improvement: Allow optional hours and ms in VTT parser in preview thumbnails
+- Improved the usage of the `ratio` config option; it now works as expected and for all video types. The default has not changed, it is to dynamically, where possible (except YouTube where 16:9 is used) determine the ratio from the media source so this is not a breaking change.
+- Added new `ratio` getter and setter
+- Fix: Properly clear all timeouts on destroy
+- Fix: Allow absolute paths in preview thumbnails
+- Improvement: Allow optional hours and ms in VTT parser in preview thumbnails
### v3.5.2
-- Fixed issue where the preview thumbnail was present while scrubbing
+- Fixed issue where the preview thumbnail was present while scrubbing
### v3.5.1
-- Fixed build issues with babel and browserslist
+- Fixed build issues with babel and browserslist
## v3.5.0
-- Preview seek/scrubbing thumbnails (thanks @jamesoflol)
-- Fixes for proxy listeners (thanks @gurupras)
-- Fix for buffer progress transition on WebKit (thanks @samuelgozi)
-- Fix for error when mime type not specified (fixes #1274)
-- Support YouTube noCookie (thanks Omar Khatib)
-- Add Angular plugin reference (thanks @smnbbrv)
-- Use `Math.trunc` instead of `parseInt` (thanks @taion)
-- Many fixes for fullscreen in embedded players with non 16:9 screens or videos
-- Added 'force' fallback option for fullscreen
-- [RangeTouch](https://rangetouch.com) is now bundled with Plyr as a dependency to fix the scrubber on touch devices
+- Preview seek/scrubbing thumbnails (thanks @jamesoflol)
+- Fixes for proxy listeners (thanks @gurupras)
+- Fix for buffer progress transition on WebKit (thanks @samuelgozi)
+- Fix for error when mime type not specified (fixes #1274)
+- Support YouTube noCookie (thanks Omar Khatib)
+- Add Angular plugin reference (thanks @smnbbrv)
+- Use `Math.trunc` instead of `parseInt` (thanks @taion)
+- Many fixes for fullscreen in embedded players with non 16:9 screens or videos
+- Added 'force' fallback option for fullscreen
+- [RangeTouch](https://rangetouch.com) is now bundled with Plyr as a dependency to fix the scrubber on touch devices
### v3.4.8
-- Calling customized controls function with proper arguments (thanks @a60814billy)
+- Calling customized controls function with proper arguments (thanks @a60814billy)
### v3.4.7
-- Fix for Vimeo fullscreen with non native aspect ratios (fixes #854)
+- Fix for Vimeo fullscreen with non native aspect ratios (fixes #854)
### v3.4.6
-- Added picture-in-picture support for Chrome 70+
-- Fixed issue with versioning the SVG sprite in the gulp build script
+- Added picture-in-picture support for Chrome 70+
+- Fixed issue with versioning the SVG sprite in the gulp build script
### v3.4.5
-- Added download button option to download either current source or a custom URL you specify in options
-- Prevent immediate hiding of controls on mobile (thanks @jamesoflol)
-- Don't hide controls on focusout event (fixes #1122) (thanks @jamesoflol)
-- Fix HTML5 quality settings being incorrectly set in local storage (thanks @TechGuard)
+- Added download button option to download either current source or a custom URL you specify in options
+- Prevent immediate hiding of controls on mobile (thanks @jamesoflol)
+- Don't hide controls on focusout event (fixes #1122) (thanks @jamesoflol)
+- Fix HTML5 quality settings being incorrectly set in local storage (thanks @TechGuard)
### v3.4.4
-- Fixed issue with double binding for `click` and `touchstart` for `clickToPlay` option
-- Improved "faux" fullscreen on iPhone X/XS phones with notch
-- Babel 7 upgrade (which reduced the polyfilled build by ~10kb!)
+- Fixed issue with double binding for `click` and `touchstart` for `clickToPlay` option
+- Improved "faux" fullscreen on iPhone X/XS phones with notch
+- Babel 7 upgrade (which reduced the polyfilled build by ~10kb!)
### v3.4.3
-- Fixed issue with nodeList for custom playback controls
+- Fixed issue with nodeList for custom playback controls
### v3.4.2
-- Fix play/pause button state
+- Fix play/pause button state
### v3.4.1
-- Bug fix for custom controls (fixes #1161)
+- Bug fix for custom controls (fixes #1161)
## v3.4.0
-- Accessibility improvements (see #905)
-- Improvements to the way the controls work on iOS
-- Demo code clean up
-- YouTube quality selection removed due to their poor support for it. As a result, the `qualityrequested` event has been removed
-- Controls spacing improvements
-- Fix for pressed property missing with custom controls (Fixes #1062)
-- Fix #1153: Captions language fallback (thanks @friday)
-- Fix for setting pressed property of undefined (Fixes #1102)
+- Accessibility improvements (see #905)
+- Improvements to the way the controls work on iOS
+- Demo code clean up
+- YouTube quality selection removed due to their poor support for it. As a result, the `qualityrequested` event has been removed
+- Controls spacing improvements
+- Fix for pressed property missing with custom controls (Fixes #1062)
+- Fix #1153: Captions language fallback (thanks @friday)
+- Fix for setting pressed property of undefined (Fixes #1102)
### v3.3.23
-- Add support for YouTube's hl param (thanks @renaudleo)
-- Fix for captions positioning when no controls (thanks @friday and @mjfwebb)
-- Fix #1108: Make sure youtube.onReady doesn't run twice (thanks @friday)
-- Fix for WebKit repaint loop on the `` elements
+- Add support for YouTube's hl param (thanks @renaudleo)
+- Fix for captions positioning when no controls (thanks @friday and @mjfwebb)
+- Fix #1108: Make sure youtube.onReady doesn't run twice (thanks @friday)
+- Fix for WebKit repaint loop on the `` elements
### v3.3.22
-- Travis & CI improvements (thanks @friday)
-- Add navigator.languages fallback for iOS 9 (thanks @friday)
+- Travis & CI improvements (thanks @friday)
+- Add navigator.languages fallback for iOS 9 (thanks @friday)
### v3.3.21
-- Hide currentTime and progress for streams (thanks @mimse)
-- Fixed condition check (thanks @mimse)
-- Handle undefined this.player.elements.buttons.play (thanks @klassicd)
-- Fix captions.toggle() if there is no toggle button (thanks @friday)
+- Hide currentTime and progress for streams (thanks @mimse)
+- Fixed condition check (thanks @mimse)
+- Handle undefined this.player.elements.buttons.play (thanks @klassicd)
+- Fix captions.toggle() if there is no toggle button (thanks @friday)
### v3.3.20
-- Fix for bug where controls wouldn't show on hover over YouTube video
+- Fix for bug where controls wouldn't show on hover over YouTube video
### v3.3.19
-- Remove `pointer-events: none` on embed `