aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-06 09:09:36 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commit3bc68dfd6183078fb56b53e24e74f889c85c4ae0 (patch)
treeeac38175bf815227f39bf0327c7399b85b05ad08 /client
parentf8c00564e7e66c7c9d65ea044a4c1485df0e4c7c (diff)
downloadPeerTube-3bc68dfd6183078fb56b53e24e74f889c85c4ae0.tar.gz
PeerTube-3bc68dfd6183078fb56b53e24e74f889c85c4ae0.tar.zst
PeerTube-3bc68dfd6183078fb56b53e24e74f889c85c4ae0.zip
Fix audio sync after saving replay
hls.js seems to not correctly handle audio gaps with fragmented mp4 (but can with a ts playlist)
Diffstat (limited to 'client')
-rw-r--r--client/package.json2
-rw-r--r--client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts4
-rw-r--r--client/yarn.lock8
3 files changed, 7 insertions, 7 deletions
diff --git a/client/package.json b/client/package.json
index cb6f77166..152f8445f 100644
--- a/client/package.json
+++ b/client/package.json
@@ -80,7 +80,7 @@
80 "extract-text-webpack-plugin": "4.0.0-beta.0", 80 "extract-text-webpack-plugin": "4.0.0-beta.0",
81 "file-loader": "^6.0.0", 81 "file-loader": "^6.0.0",
82 "focus-visible": "^5.0.2", 82 "focus-visible": "^5.0.2",
83 "hls.js": "^0.14.9", 83 "hls.js": "^0.14.16",
84 "html-loader": "^1.0.0", 84 "html-loader": "^1.0.0",
85 "html-webpack-plugin": "^4.0.3", 85 "html-webpack-plugin": "^4.0.3",
86 "https-browserify": "^1.0.0", 86 "https-browserify": "^1.0.0",
diff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts
index 18b4a2f3c..321f7b09f 100644
--- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts
+++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts
@@ -93,7 +93,7 @@ export class VideoActionsDropdownComponent implements OnChanges {
93 ngOnChanges () { 93 ngOnChanges () {
94 if (this.loaded) { 94 if (this.loaded) {
95 this.loaded = false 95 this.loaded = false
96 this.playlistAdd.reload() 96 if (this.playlistAdd) this.playlistAdd.reload()
97 } 97 }
98 98
99 this.buildActions() 99 this.buildActions()
@@ -277,7 +277,7 @@ export class VideoActionsDropdownComponent implements OnChanges {
277 { 277 {
278 label: $localize`Display live information`, 278 label: $localize`Display live information`,
279 handler: ({ video }) => this.showLiveInfoModal(video), 279 handler: ({ video }) => this.showLiveInfoModal(video),
280 isDisplayed: () => this.isVideoLiveInfoAvailable(), 280 isDisplayed: () => this.displayOptions.liveInfo && this.isVideoLiveInfoAvailable(),
281 iconName: 'live' 281 iconName: 'live'
282 }, 282 },
283 { 283 {
diff --git a/client/yarn.lock b/client/yarn.lock
index cdafe1458..d3603a4a9 100644
--- a/client/yarn.lock
+++ b/client/yarn.lock
@@ -5586,10 +5586,10 @@ hex-color-regex@^1.1.0:
5586 resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e" 5586 resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e"
5587 integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ== 5587 integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==
5588 5588
5589hls.js@^0.14.9: 5589hls.js@^0.14.16:
5590 version "0.14.9" 5590 version "0.14.16"
5591 resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-0.14.9.tgz#e85be87d94385ed9947155716578f7c568957d15" 5591 resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-0.14.16.tgz#4ff68a1fa7260a43d316270e9bc7f7bdf93c5731"
5592 integrity sha512-5j1ONTvIzcIxCtg2eafikFbZ3b/9fDhR6u871LmK7jZ44/Qdc2G4xaSBCwcVK61gz7kTyiobaAhB++2M4J58rQ== 5592 integrity sha512-VACiO99DQFBpflR4fI+6GVHUZn35R0SGGQo0XTDZOm2BUXbeuDHTghTC/k2/3wGln6KBmG8/bXIcDIzDsY2UEg==
5593 dependencies: 5593 dependencies:
5594 eventemitter3 "^4.0.3" 5594 eventemitter3 "^4.0.3"
5595 url-toolkit "^2.1.6" 5595 url-toolkit "^2.1.6"