temp cache bust for CDN issue
CDN has set a large max cache for some m3u8s the other day, hoping this helps alleviate browser side cache issues. We can remove later
This commit is contained in:
parent
7c82110326
commit
e073e120a1
1 changed files with 3 additions and 1 deletions
|
@ -450,7 +450,9 @@ export default React.memo<Props>(function VideoJs(props: Props) {
|
|||
if (isLivestream) {
|
||||
vjsPlayer.isLivestream = true;
|
||||
vjsPlayer.addClass('livestreamPlayer');
|
||||
vjsPlayer.src({ type: 'application/x-mpegURL', src: livestreamVideoUrl });
|
||||
// temp workaround for CDN issue, remove in a few weeks.
|
||||
const templivestreamVideoUrl = livestreamVideoUrl + '?cachebust=1';
|
||||
vjsPlayer.src({ type: 'application/x-mpegURL', src: templivestreamVideoUrl });
|
||||
} else {
|
||||
vjsPlayer.isLivestream = false;
|
||||
vjsPlayer.removeClass('livestreamPlayer');
|
||||
|
|
Loading…
Reference in a new issue