From 339210d0dd05248222ef3a3f5db756c27c23c335 Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 9 Nov 2023 13:12:30 +0800 Subject: [PATCH] hotfix: chage video type priority --- src/components/program/ProgramContentPlayer.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/program/ProgramContentPlayer.tsx b/src/components/program/ProgramContentPlayer.tsx index b05734347..21a92bf23 100644 --- a/src/components/program/ProgramContentPlayer.tsx +++ b/src/components/program/ProgramContentPlayer.tsx @@ -450,14 +450,14 @@ const ProgramContentPlayerWrapper = (props: { .then(({ data }) => { if (data.code === 'SUCCESS') { setSources([ - { - type: 'application/dash+xml', - src: `https://cloudflarestream.com/${data.result.token}/manifest/video.mpd`, - }, { type: 'application/x-mpegURL', src: `https://cloudflarestream.com/${data.result.token}/manifest/video.m3u8`, }, + { + type: 'application/dash+xml', + src: `https://cloudflarestream.com/${data.result.token}/manifest/video.mpd`, + }, ]) setPoster(`https://cloudflarestream.com/${data.result.token}/thumbnails/thumbnail.jpg`) } else {