Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
clothe09986 committed Nov 9, 2023
2 parents 9127dec + 6422229 commit 7ad3be9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/program/ProgramContentPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7ad3be9

Please sign in to comment.