added player config
This commit is contained in:
parent
419eed81e6
commit
72ad5b3a21
|
|
@ -105,12 +105,16 @@ export const DataStep = ({ nextStep }: DataStepProps) => {
|
|||
"w-full border border-white bg-[#2B2B2B] px-[10px] py-[8px] text-sm"
|
||||
}
|
||||
>
|
||||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width={"100%"}
|
||||
url={rootStore.fileSrc}
|
||||
/>
|
||||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width="100%"
|
||||
config={{ file: { attributes: { playsInline: true } } }}
|
||||
url={rootStore.fileSrc}
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
)}
|
||||
</FormLabel>
|
||||
|
|
|
|||
|
|
@ -154,12 +154,15 @@ export const PresubmitStep = ({ prevStep }: PresubmitStepProps) => {
|
|||
"w-full border border-white bg-[#2B2B2B] px-[10px] py-[8px] text-sm"
|
||||
}
|
||||
>
|
||||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width={"100%"}
|
||||
url={rootStore.fileSrc}
|
||||
/>
|
||||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width="100%"
|
||||
config={{ file: { attributes: { playsInline: true } } }}
|
||||
url={rootStore.fileSrc}
|
||||
/>
|
||||
|
||||
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,13 +66,13 @@ export const ViewContentPage = () => {
|
|||
</div>
|
||||
)}
|
||||
|
||||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width={"100%"}
|
||||
config={{}}
|
||||
url={content?.data?.display_options?.content_url}
|
||||
/>
|
||||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width="100%"
|
||||
config={{ file: { attributes: { playsInline: true } } }}
|
||||
url={content?.data?.display_options?.content_url}
|
||||
/>
|
||||
|
||||
<section className={"flex flex-col"}>
|
||||
<h1 className={"text-[20px] font-bold"}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue