diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-04-11 11:00:32 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-04-12 10:50:22 +0200 |
commit | a472cf033003cf96b69a80808b2dce1fe382e09b (patch) | |
tree | c69545d4217cfffc7fb965fc120f06ac2f85fcc0 /client | |
parent | 8280d0c22797c72978f698dc2deaa8ef569a9d15 (diff) | |
download | PeerTube-a472cf033003cf96b69a80808b2dce1fe382e09b.tar.gz PeerTube-a472cf033003cf96b69a80808b2dce1fe382e09b.tar.zst PeerTube-a472cf033003cf96b69a80808b2dce1fe382e09b.zip |
add loop toggle to the player contextmenu
Diffstat (limited to 'client')
-rw-r--r-- | client/package.json | 2 | ||||
-rw-r--r-- | client/src/assets/player/peertube-player-manager.ts | 65 | ||||
-rw-r--r-- | client/yarn.lock | 144 |
3 files changed, 176 insertions, 35 deletions
diff --git a/client/package.json b/client/package.json index 7a97aae37..fba341e6f 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -121,7 +121,7 @@ | |||
121 | "tslint-config-standard": "^9.0.0", | 121 | "tslint-config-standard": "^9.0.0", |
122 | "typescript": "~4.1.3", | 122 | "typescript": "~4.1.3", |
123 | "video.js": "^7", | 123 | "video.js": "^7", |
124 | "videojs-contextmenu-ui": "^5.0.0", | 124 | "videojs-contextmenu-pt": "^5.4.1", |
125 | "videojs-contrib-quality-levels": "^2.0.9", | 125 | "videojs-contrib-quality-levels": "^2.0.9", |
126 | "videojs-dock": "^2.0.2", | 126 | "videojs-dock": "^2.0.2", |
127 | "videojs-hotkeys": "^0.2.27", | 127 | "videojs-hotkeys": "^0.2.27", |
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts index 119dec379..018845a54 100644 --- a/client/src/assets/player/peertube-player-manager.ts +++ b/client/src/assets/player/peertube-player-manager.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import 'videojs-hotkeys/videojs.hotkeys' | 1 | import 'videojs-hotkeys/videojs.hotkeys' |
2 | import 'videojs-dock' | 2 | import 'videojs-dock' |
3 | import 'videojs-contextmenu-ui' | 3 | import 'videojs-contextmenu-pt' |
4 | import 'videojs-contrib-quality-levels' | 4 | import 'videojs-contrib-quality-levels' |
5 | import './upnext/end-card' | 5 | import './upnext/end-card' |
6 | import './upnext/upnext-plugin' | 6 | import './upnext/upnext-plugin' |
@@ -122,7 +122,6 @@ export type PeertubePlayerManagerOptions = { | |||
122 | export class PeertubePlayerManager { | 122 | export class PeertubePlayerManager { |
123 | private static playerElementClassName: string | 123 | private static playerElementClassName: string |
124 | private static onPlayerChange: (player: videojs.Player) => void | 124 | private static onPlayerChange: (player: videojs.Player) => void |
125 | |||
126 | private static alreadyPlayed = false | 125 | private static alreadyPlayed = false |
127 | 126 | ||
128 | static initState () { | 127 | static initState () { |
@@ -497,36 +496,48 @@ export class PeertubePlayerManager { | |||
497 | } | 496 | } |
498 | 497 | ||
499 | private static addContextMenu (mode: PlayerMode, player: videojs.Player, videoEmbedUrl: string, videoEmbedTitle: string) { | 498 | private static addContextMenu (mode: PlayerMode, player: videojs.Player, videoEmbedUrl: string, videoEmbedTitle: string) { |
500 | const content = [ | 499 | const content = () => { |
501 | { | 500 | const isLoopEnabled = player.options_['loop'] |
502 | label: player.localize('Copy the video URL'), | 501 | const items = [ |
503 | listener: function () { | 502 | { |
504 | copyToClipboard(buildVideoLink()) | 503 | label: isLoopEnabled ? player.localize('Stop playing in loop') : player.localize('Play in loop'), |
505 | } | 504 | listener: function () { |
506 | }, | 505 | player.options_['loop'] = !isLoopEnabled |
507 | { | 506 | } |
508 | label: player.localize('Copy the video URL at the current time'), | 507 | }, |
509 | listener: function (this: videojs.Player) { | 508 | { |
510 | copyToClipboard(buildVideoLink({ startTime: this.currentTime() })) | 509 | label: player.localize('Copy the video URL'), |
511 | } | 510 | listener: function () { |
512 | }, | 511 | copyToClipboard(buildVideoLink()) |
513 | { | 512 | } |
514 | label: player.localize('Copy embed code'), | 513 | }, |
515 | listener: () => { | 514 | { |
516 | copyToClipboard(buildVideoOrPlaylistEmbed(videoEmbedUrl, videoEmbedTitle)) | 515 | label: player.localize('Copy the video URL at the current time'), |
516 | listener: function (this: videojs.Player) { | ||
517 | copyToClipboard(buildVideoLink({ startTime: this.currentTime() })) | ||
518 | } | ||
519 | }, | ||
520 | { | ||
521 | label: player.localize('Copy embed code'), | ||
522 | listener: () => { | ||
523 | copyToClipboard(buildVideoOrPlaylistEmbed(videoEmbedUrl, videoEmbedTitle)) | ||
524 | } | ||
517 | } | 525 | } |
526 | ] | ||
527 | |||
528 | if (mode === 'webtorrent') { | ||
529 | items.push({ | ||
530 | label: player.localize('Copy magnet URI'), | ||
531 | listener: function (this: videojs.Player) { | ||
532 | copyToClipboard(this.webtorrent().getCurrentVideoFile().magnetUri) | ||
533 | } | ||
534 | }) | ||
518 | } | 535 | } |
519 | ] | ||
520 | 536 | ||
521 | if (mode === 'webtorrent') { | 537 | return items |
522 | content.push({ | ||
523 | label: player.localize('Copy magnet URI'), | ||
524 | listener: function (this: videojs.Player) { | ||
525 | copyToClipboard(this.webtorrent().getCurrentVideoFile().magnetUri) | ||
526 | } | ||
527 | }) | ||
528 | } | 538 | } |
529 | 539 | ||
540 | // adding the menu | ||
530 | player.contextmenuUI({ content }) | 541 | player.contextmenuUI({ content }) |
531 | } | 542 | } |
532 | 543 | ||
diff --git a/client/yarn.lock b/client/yarn.lock index 75548e83f..773b8814f 100644 --- a/client/yarn.lock +++ b/client/yarn.lock | |||
@@ -1110,7 +1110,7 @@ | |||
1110 | dependencies: | 1110 | dependencies: |
1111 | regenerator-runtime "^0.13.4" | 1111 | regenerator-runtime "^0.13.4" |
1112 | 1112 | ||
1113 | "@babel/runtime@^7.12.5", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": | 1113 | "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": |
1114 | version "7.13.10" | 1114 | version "7.13.10" |
1115 | resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d" | 1115 | resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d" |
1116 | integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw== | 1116 | integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw== |
@@ -1682,6 +1682,20 @@ | |||
1682 | mux.js "5.8.0" | 1682 | mux.js "5.8.0" |
1683 | video.js "^6 || ^7" | 1683 | video.js "^6 || ^7" |
1684 | 1684 | ||
1685 | "@videojs/http-streaming@2.6.4": | ||
1686 | version "2.6.4" | ||
1687 | resolved "https://registry.yarnpkg.com/@videojs/http-streaming/-/http-streaming-2.6.4.tgz#a3d9eb62b02c6e48439f033675ec3a6f5f8cdb25" | ||
1688 | integrity sha512-sFVE0MVXhawAkET8EgiUSMvDDv6u3uGidtO0BvNXG0/qKWlze/zEzhvLsyPU4HmLFRnffKeHK5RE2XpO5vHY8Q== | ||
1689 | dependencies: | ||
1690 | "@babel/runtime" "^7.12.5" | ||
1691 | "@videojs/vhs-utils" "^3.0.0" | ||
1692 | aes-decrypter "3.1.2" | ||
1693 | global "^4.4.0" | ||
1694 | m3u8-parser "4.5.2" | ||
1695 | mpd-parser "0.15.4" | ||
1696 | mux.js "5.10.0" | ||
1697 | video.js "^6 || ^7" | ||
1698 | |||
1685 | "@videojs/vhs-utils@^2.2.1", "@videojs/vhs-utils@^2.3.0": | 1699 | "@videojs/vhs-utils@^2.2.1", "@videojs/vhs-utils@^2.3.0": |
1686 | version "2.3.0" | 1700 | version "2.3.0" |
1687 | resolved "https://registry.yarnpkg.com/@videojs/vhs-utils/-/vhs-utils-2.3.0.tgz#490a3a00dfc1b51d85d5dcf8f8361e2d4c4d1440" | 1701 | resolved "https://registry.yarnpkg.com/@videojs/vhs-utils/-/vhs-utils-2.3.0.tgz#490a3a00dfc1b51d85d5dcf8f8361e2d4c4d1440" |
@@ -1964,6 +1978,16 @@ aes-decrypter@3.1.0: | |||
1964 | global "^4.3.2" | 1978 | global "^4.3.2" |
1965 | pkcs7 "^1.0.4" | 1979 | pkcs7 "^1.0.4" |
1966 | 1980 | ||
1981 | aes-decrypter@3.1.2: | ||
1982 | version "3.1.2" | ||
1983 | resolved "https://registry.yarnpkg.com/aes-decrypter/-/aes-decrypter-3.1.2.tgz#3545546f8e9f6b878640339a242efe221ba7a7cb" | ||
1984 | integrity sha512-42nRwfQuPRj9R1zqZBdoxnaAmnIFyDi0MNyTVhjdFOd8fifXKKRfwIHIZ6AMn1or4x5WONzjwRTbTWcsIQ0O4A== | ||
1985 | dependencies: | ||
1986 | "@babel/runtime" "^7.12.5" | ||
1987 | "@videojs/vhs-utils" "^3.0.0" | ||
1988 | global "^4.4.0" | ||
1989 | pkcs7 "^1.0.4" | ||
1990 | |||
1967 | agent-base@6: | 1991 | agent-base@6: |
1968 | version "6.0.2" | 1992 | version "6.0.2" |
1969 | resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" | 1993 | resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" |
@@ -2981,6 +3005,13 @@ caseless@~0.12.0: | |||
2981 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" | 3005 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" |
2982 | integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= | 3006 | integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= |
2983 | 3007 | ||
3008 | "chainsaw@>=0.0.7 <0.1": | ||
3009 | version "0.0.9" | ||
3010 | resolved "https://registry.yarnpkg.com/chainsaw/-/chainsaw-0.0.9.tgz#11a05102d1c4c785b6d0415d336d5a3a1612913e" | ||
3011 | integrity sha1-EaBRAtHEx4W20EFdM21aOhYSkT4= | ||
3012 | dependencies: | ||
3013 | traverse ">=0.3.0 <0.4" | ||
3014 | |||
2984 | chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: | 3015 | chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: |
2985 | version "1.1.3" | 3016 | version "1.1.3" |
2986 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" | 3017 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" |
@@ -4717,6 +4748,11 @@ estraverse@^5.2.0: | |||
4717 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" | 4748 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" |
4718 | integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== | 4749 | integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== |
4719 | 4750 | ||
4751 | estree-walker@^0.6.1: | ||
4752 | version "0.6.1" | ||
4753 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" | ||
4754 | integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== | ||
4755 | |||
4720 | esutils@^1.1.6: | 4756 | esutils@^1.1.6: |
4721 | version "1.1.6" | 4757 | version "1.1.6" |
4722 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-1.1.6.tgz#c01ccaa9ae4b897c6d0c3e210ae52f3c7a844375" | 4758 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-1.1.6.tgz#c01ccaa9ae4b897c6d0c3e210ae52f3c7a844375" |
@@ -5597,6 +5633,13 @@ hash.js@^1.0.0, hash.js@^1.0.3: | |||
5597 | inherits "^2.0.3" | 5633 | inherits "^2.0.3" |
5598 | minimalistic-assert "^1.0.1" | 5634 | minimalistic-assert "^1.0.1" |
5599 | 5635 | ||
5636 | "hashish@>=0.0.2 <0.1": | ||
5637 | version "0.0.4" | ||
5638 | resolved "https://registry.yarnpkg.com/hashish/-/hashish-0.0.4.tgz#6d60bc6ffaf711b6afd60e426d077988014e6554" | ||
5639 | integrity sha1-bWC8b/r3Ebav1g5CbQd5iAFOZVQ= | ||
5640 | dependencies: | ||
5641 | traverse ">=0.2.4" | ||
5642 | |||
5600 | he@^1.1.1, he@^1.2.0: | 5643 | he@^1.1.1, he@^1.2.0: |
5601 | version "1.2.0" | 5644 | version "1.2.0" |
5602 | resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" | 5645 | resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" |
@@ -7169,6 +7212,15 @@ m3u8-parser@4.5.0: | |||
7169 | "@videojs/vhs-utils" "^2.2.1" | 7212 | "@videojs/vhs-utils" "^2.2.1" |
7170 | global "^4.3.2" | 7213 | global "^4.3.2" |
7171 | 7214 | ||
7215 | m3u8-parser@4.5.2: | ||
7216 | version "4.5.2" | ||
7217 | resolved "https://registry.yarnpkg.com/m3u8-parser/-/m3u8-parser-4.5.2.tgz#f7d48a60112466e528324624c4e66d52ed341a75" | ||
7218 | integrity sha512-sN/lu3TiRxmG2RFjZxo5c0/7Dr4RrEztl43jXrWwj5gFZ7vfa2iIxGfiPx485dm5QCazaIcKk+vNkUso8Aq0Ag== | ||
7219 | dependencies: | ||
7220 | "@babel/runtime" "^7.12.5" | ||
7221 | "@videojs/vhs-utils" "^3.0.0" | ||
7222 | global "^4.4.0" | ||
7223 | |||
7172 | m3u8-parser@^4.4.0: | 7224 | m3u8-parser@^4.4.0: |
7173 | version "4.6.0" | 7225 | version "4.6.0" |
7174 | resolved "https://registry.yarnpkg.com/m3u8-parser/-/m3u8-parser-4.6.0.tgz#a0e2f5dcf8391c9a6e59895a084fa38f27b52124" | 7226 | resolved "https://registry.yarnpkg.com/m3u8-parser/-/m3u8-parser-4.6.0.tgz#a0e2f5dcf8391c9a6e59895a084fa38f27b52124" |
@@ -7178,7 +7230,7 @@ m3u8-parser@^4.4.0: | |||
7178 | "@videojs/vhs-utils" "^3.0.0" | 7230 | "@videojs/vhs-utils" "^3.0.0" |
7179 | global "^4.4.0" | 7231 | global "^4.4.0" |
7180 | 7232 | ||
7181 | magic-string@0.25.7, magic-string@^0.25.0: | 7233 | magic-string@0.25.7, magic-string@^0.25.0, magic-string@^0.25.2: |
7182 | version "0.25.7" | 7234 | version "0.25.7" |
7183 | resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" | 7235 | resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" |
7184 | integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA== | 7236 | integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA== |
@@ -7628,6 +7680,16 @@ mpd-parser@0.15.0: | |||
7628 | global "^4.3.2" | 7680 | global "^4.3.2" |
7629 | xmldom "^0.1.27" | 7681 | xmldom "^0.1.27" |
7630 | 7682 | ||
7683 | mpd-parser@0.15.4: | ||
7684 | version "0.15.4" | ||
7685 | resolved "https://registry.yarnpkg.com/mpd-parser/-/mpd-parser-0.15.4.tgz#e1b445d0dc2aab1389fde6420ca9cca7c999575d" | ||
7686 | integrity sha512-YcOclxKc5gnT87UQYwRoPJpWOFvQORwN+bXYmTWCJ4U2pCSS7jjtPrIhoOLHFAyekj48CHTX4hjGBV/VSNsUsg== | ||
7687 | dependencies: | ||
7688 | "@babel/runtime" "^7.12.5" | ||
7689 | "@videojs/vhs-utils" "^3.0.0" | ||
7690 | global "^4.4.0" | ||
7691 | xmldom "^0.4.0" | ||
7692 | |||
7631 | ms@2.0.0: | 7693 | ms@2.0.0: |
7632 | version "2.0.0" | 7694 | version "2.0.0" |
7633 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" | 7695 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" |
@@ -7679,6 +7741,13 @@ mute-stream@0.0.8: | |||
7679 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" | 7741 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" |
7680 | integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== | 7742 | integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== |
7681 | 7743 | ||
7744 | mux.js@5.10.0: | ||
7745 | version "5.10.0" | ||
7746 | resolved "https://registry.yarnpkg.com/mux.js/-/mux.js-5.10.0.tgz#80fb30f9233c7902cac5cc8e1ae5f19e91cf8477" | ||
7747 | integrity sha512-kLzvYsHYBwNa+ckkmpxWV3eImwntJbrwd1KbN4WR0hLe+dK/KB82aCuC0fQzAI2hkjYszdlSGsAWFgYdiFBUuA== | ||
7748 | dependencies: | ||
7749 | "@babel/runtime" "^7.11.2" | ||
7750 | |||
7682 | mux.js@5.8.0: | 7751 | mux.js@5.8.0: |
7683 | version "5.8.0" | 7752 | version "5.8.0" |
7684 | resolved "https://registry.yarnpkg.com/mux.js/-/mux.js-5.8.0.tgz#1e1ca927b498de5ae48f1284ccada4d88e47e187" | 7753 | resolved "https://registry.yarnpkg.com/mux.js/-/mux.js-5.8.0.tgz#1e1ca927b498de5ae48f1284ccada4d88e47e187" |
@@ -9451,6 +9520,13 @@ remove-trailing-separator@^1.0.1: | |||
9451 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" | 9520 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" |
9452 | integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= | 9521 | integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= |
9453 | 9522 | ||
9523 | remove@^0.1.5: | ||
9524 | version "0.1.5" | ||
9525 | resolved "https://registry.yarnpkg.com/remove/-/remove-0.1.5.tgz#095ffd827d65c9f41ad97d33e416a75811079955" | ||
9526 | integrity sha1-CV/9gn1lyfQa2X0z5BanWBEHmVU= | ||
9527 | dependencies: | ||
9528 | seq ">= 0.3.5" | ||
9529 | |||
9454 | render-media@^4.1.0: | 9530 | render-media@^4.1.0: |
9455 | version "4.1.0" | 9531 | version "4.1.0" |
9456 | resolved "https://registry.yarnpkg.com/render-media/-/render-media-4.1.0.tgz#9188376822653d7e56c2d789d157c81e74fee0cb" | 9532 | resolved "https://registry.yarnpkg.com/render-media/-/render-media-4.1.0.tgz#9188376822653d7e56c2d789d157c81e74fee0cb" |
@@ -9701,6 +9777,21 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: | |||
9701 | hash-base "^3.0.0" | 9777 | hash-base "^3.0.0" |
9702 | inherits "^2.0.1" | 9778 | inherits "^2.0.1" |
9703 | 9779 | ||
9780 | rollup-plugin-replace@^2.2.0: | ||
9781 | version "2.2.0" | ||
9782 | resolved "https://registry.yarnpkg.com/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz#f41ae5372e11e7a217cde349c8b5d5fd115e70e3" | ||
9783 | integrity sha512-/5bxtUPkDHyBJAKketb4NfaeZjL5yLZdeUihSfbF2PQMz+rSTEb8ARKoOl3UBT4m7/X+QOXJo3sLTcq+yMMYTA== | ||
9784 | dependencies: | ||
9785 | magic-string "^0.25.2" | ||
9786 | rollup-pluginutils "^2.6.0" | ||
9787 | |||
9788 | rollup-pluginutils@^2.6.0: | ||
9789 | version "2.8.2" | ||
9790 | resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" | ||
9791 | integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== | ||
9792 | dependencies: | ||
9793 | estree-walker "^0.6.1" | ||
9794 | |||
9704 | rollup@2.38.4: | 9795 | rollup@2.38.4: |
9705 | version "2.38.4" | 9796 | version "2.38.4" |
9706 | resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.38.4.tgz#1b84ea8728c73b1a00a6a6e9c630ec8c3fe48cea" | 9797 | resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.38.4.tgz#1b84ea8728c73b1a00a6a6e9c630ec8c3fe48cea" |
@@ -9997,6 +10088,14 @@ send@0.17.1: | |||
9997 | range-parser "~1.2.1" | 10088 | range-parser "~1.2.1" |
9998 | statuses "~1.5.0" | 10089 | statuses "~1.5.0" |
9999 | 10090 | ||
10091 | "seq@>= 0.3.5": | ||
10092 | version "0.3.5" | ||
10093 | resolved "https://registry.yarnpkg.com/seq/-/seq-0.3.5.tgz#ae02af3a424793d8ccbf212d69174e0c54dffe38" | ||
10094 | integrity sha1-rgKvOkJHk9jMvyEtaRdODFTf/jg= | ||
10095 | dependencies: | ||
10096 | chainsaw ">=0.0.7 <0.1" | ||
10097 | hashish ">=0.0.2 <0.1" | ||
10098 | |||
10000 | serialize-javascript@^4.0.0: | 10099 | serialize-javascript@^4.0.0: |
10001 | version "4.0.0" | 10100 | version "4.0.0" |
10002 | resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" | 10101 | resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" |
@@ -11042,6 +11141,16 @@ tough-cookie@~2.5.0: | |||
11042 | psl "^1.1.28" | 11141 | psl "^1.1.28" |
11043 | punycode "^2.1.1" | 11142 | punycode "^2.1.1" |
11044 | 11143 | ||
11144 | traverse@>=0.2.4: | ||
11145 | version "0.6.6" | ||
11146 | resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" | ||
11147 | integrity sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc= | ||
11148 | |||
11149 | "traverse@>=0.3.0 <0.4": | ||
11150 | version "0.3.9" | ||
11151 | resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.3.9.tgz#717b8f220cc0bb7b44e40514c22b2e8bbc70d8b9" | ||
11152 | integrity sha1-cXuPIgzAu3tE5AUUwisui7xw2Lk= | ||
11153 | |||
11045 | tree-kill@1.2.2: | 11154 | tree-kill@1.2.2: |
11046 | version "1.2.2" | 11155 | version "1.2.2" |
11047 | resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" | 11156 | resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" |
@@ -11517,7 +11626,7 @@ verror@1.10.0: | |||
11517 | core-util-is "1.0.2" | 11626 | core-util-is "1.0.2" |
11518 | extsprintf "^1.2.0" | 11627 | extsprintf "^1.2.0" |
11519 | 11628 | ||
11520 | "video.js@^6 || ^7", video.js@^7, video.js@^7.6.0: | 11629 | "video.js@^6 || ^7", video.js@^7: |
11521 | version "7.11.4" | 11630 | version "7.11.4" |
11522 | resolved "https://registry.yarnpkg.com/video.js/-/video.js-7.11.4.tgz#64300cb6def9f17ecba4808ae76ec7c10c952378" | 11631 | resolved "https://registry.yarnpkg.com/video.js/-/video.js-7.11.4.tgz#64300cb6def9f17ecba4808ae76ec7c10c952378" |
11523 | integrity sha512-eT9n7YCugHyWNHI2gyK28XoozNmLiW4F9dRYEP6ET/JVmm7oXPhLeVfs5kqcRviquISqWsvsNmhK1b9vvZzyVA== | 11632 | integrity sha512-eT9n7YCugHyWNHI2gyK28XoozNmLiW4F9dRYEP6ET/JVmm7oXPhLeVfs5kqcRviquISqWsvsNmhK1b9vvZzyVA== |
@@ -11531,10 +11640,26 @@ verror@1.10.0: | |||
11531 | videojs-font "3.2.0" | 11640 | videojs-font "3.2.0" |
11532 | videojs-vtt.js "^0.15.2" | 11641 | videojs-vtt.js "^0.15.2" |
11533 | 11642 | ||
11534 | videojs-contextmenu-ui@^5.0.0: | 11643 | video.js@^7.6.0: |
11535 | version "5.2.0" | 11644 | version "7.11.8" |
11536 | resolved "https://registry.yarnpkg.com/videojs-contextmenu-ui/-/videojs-contextmenu-ui-5.2.0.tgz#c94f609f1805f497d6320d39c3896b59e1224201" | 11645 | resolved "https://registry.yarnpkg.com/video.js/-/video.js-7.11.8.tgz#1fa27c56f30a436b06b44f21560f223e264aec51" |
11537 | integrity sha512-o6EFzK3ncHuWeYQiVAUgLrI7SLcUMNpZE2P4CHwAo8/8/LNQM8xNPGjTtQY3/Zgs50sruqedacT8OHqeAQOnVw== | 11646 | integrity sha512-iQmNYB+pdgu8b45Za1AKSa5J7uDyHIqfJy+picw4voKfjErXK/BEvs+A3f99Ck7SCZU4cmMmX/s17AwaaNs+1w== |
11647 | dependencies: | ||
11648 | "@babel/runtime" "^7.9.2" | ||
11649 | "@videojs/http-streaming" "2.6.4" | ||
11650 | "@videojs/xhr" "2.5.1" | ||
11651 | global "4.3.2" | ||
11652 | keycode "^2.2.0" | ||
11653 | remove "^0.1.5" | ||
11654 | rollup-plugin-replace "^2.2.0" | ||
11655 | safe-json-parse "4.0.0" | ||
11656 | videojs-font "3.2.0" | ||
11657 | videojs-vtt.js "^0.15.2" | ||
11658 | |||
11659 | videojs-contextmenu-pt@^5.4.1: | ||
11660 | version "5.4.1" | ||
11661 | resolved "https://registry.yarnpkg.com/videojs-contextmenu-pt/-/videojs-contextmenu-pt-5.4.1.tgz#db160cc4bce489ae6d66ef59b85e2a82edae972e" | ||
11662 | integrity sha512-JtVvmO8fH4vnE6B1tI5efA828nxlc1N/V500/l8Zwvi81VsYVX4EOteTXnP3Rc3o1l9cd22N/t+wenymi3oplw== | ||
11538 | dependencies: | 11663 | dependencies: |
11539 | global "^4.4.0" | 11664 | global "^4.4.0" |
11540 | video.js "^7.6.0" | 11665 | video.js "^7.6.0" |
@@ -12025,6 +12150,11 @@ xmldom@^0.1.27: | |||
12025 | resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.31.tgz#b76c9a1bd9f0a9737e5a72dc37231cf38375e2ff" | 12150 | resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.31.tgz#b76c9a1bd9f0a9737e5a72dc37231cf38375e2ff" |
12026 | integrity sha512-yS2uJflVQs6n+CyjHoaBmVSqIDevTAWrzMmjG1Gc7h1qQ7uVozNhEPJAwZXWyGQ/Gafo3fCwrcaokezLPupVyQ== | 12151 | integrity sha512-yS2uJflVQs6n+CyjHoaBmVSqIDevTAWrzMmjG1Gc7h1qQ7uVozNhEPJAwZXWyGQ/Gafo3fCwrcaokezLPupVyQ== |
12027 | 12152 | ||
12153 | xmldom@^0.4.0: | ||
12154 | version "0.4.0" | ||
12155 | resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.4.0.tgz#8771e482a333af44587e30ce026f0998c23f3830" | ||
12156 | integrity sha512-2E93k08T30Ugs+34HBSTQLVtpi6mCddaY8uO+pMNk1pqSjV5vElzn4mmh6KLxN3hki8rNcHSYzILoh3TEWORvA== | ||
12157 | |||
12028 | xmlhttprequest-ssl@~1.5.4: | 12158 | xmlhttprequest-ssl@~1.5.4: |
12029 | version "1.5.5" | 12159 | version "1.5.5" |
12030 | resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" | 12160 | resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" |