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"
|
"w-full border border-white bg-[#2B2B2B] px-[10px] py-[8px] text-sm"
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<ReactPlayer
|
<ReactPlayer
|
||||||
playsinline={true}
|
playsinline={true}
|
||||||
controls={true}
|
controls={true}
|
||||||
width={"100%"}
|
width="100%"
|
||||||
url={rootStore.fileSrc}
|
config={{ file: { attributes: { playsInline: true } } }}
|
||||||
/>
|
url={rootStore.fileSrc}
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
|
|
|
||||||
|
|
@ -154,12 +154,15 @@ export const PresubmitStep = ({ prevStep }: PresubmitStepProps) => {
|
||||||
"w-full border border-white bg-[#2B2B2B] px-[10px] py-[8px] text-sm"
|
"w-full border border-white bg-[#2B2B2B] px-[10px] py-[8px] text-sm"
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<ReactPlayer
|
<ReactPlayer
|
||||||
playsinline={true}
|
playsinline={true}
|
||||||
controls={true}
|
controls={true}
|
||||||
width={"100%"}
|
width="100%"
|
||||||
url={rootStore.fileSrc}
|
config={{ file: { attributes: { playsInline: true } } }}
|
||||||
/>
|
url={rootStore.fileSrc}
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,13 +66,13 @@ export const ViewContentPage = () => {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<ReactPlayer
|
<ReactPlayer
|
||||||
playsinline={true}
|
playsinline={true}
|
||||||
controls={true}
|
controls={true}
|
||||||
width={"100%"}
|
width="100%"
|
||||||
config={{}}
|
config={{ file: { attributes: { playsInline: true } } }}
|
||||||
url={content?.data?.display_options?.content_url}
|
url={content?.data?.display_options?.content_url}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<section className={"flex flex-col"}>
|
<section className={"flex flex-col"}>
|
||||||
<h1 className={"text-[20px] font-bold"}>
|
<h1 className={"text-[20px] font-bold"}>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue