Compare commits

...

2 commits

Author SHA1 Message Date
Thomas Zarebczan
abb7ae54e3
test2 2021-07-29 15:37:28 -04:00
Thomas Zarebczan
63f90c2cd0
test 2021-07-29 15:37:16 -04:00

View file

@ -509,7 +509,7 @@ export default React.memo<Props>(function VideoJs(props: Props) {
// do we need to check if explicitly redirected // do we need to check if explicitly redirected
// or is checking extension only a safer method // or is checking extension only a safer method
if (response && response.redirected && response.url && response.url.endsWith('m3u8')) { if (response && response.redirected && response.url && response.url.endsWith('m3u8')) {
finalType = 'application/x-mpegURL'; finalType = 'application/vnd.apple.mpegurl';
finalSource = response.url; finalSource = response.url;
} }
@ -635,7 +635,7 @@ export default React.memo<Props>(function VideoJs(props: Props) {
// do we need to check if explicitly redirected // do we need to check if explicitly redirected
// or is checking extension only a safer method // or is checking extension only a safer method
if (response && response.redirected && response.url && response.url.endsWith('m3u8')) { if (response && response.redirected && response.url && response.url.endsWith('m3u8')) {
finalType = 'application/x-mpegURL'; finalType = 'application/vnd.apple.mpegurl';
finalSource = response.url; finalSource = response.url;
} }