Use master playlist for videojs

This commit is contained in:
Justin Wong
2022-08-17 23:28:32 +08:00
committed by Blake Blackshear
parent 89c04acdff
commit 7c57c8c2da
3 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ export const HistoryVideo = ({
}
video.src({
src: `${apiHost}/vod/event/${id}/index.m3u8`,
src: `${apiHost}/vod/event/${id}/master.m3u8`,
type: 'application/vnd.apple.mpegurl',
});
video.poster(`${apiHost}/api/events/${id}/snapshot.jpg`);