added player config
This commit is contained in:
parent
419eed81e6
commit
72ad5b3a21
|
|
@ -108,9 +108,13 @@ export const DataStep = ({ nextStep }: DataStepProps) => {
|
|||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width={"100%"}
|
||||
width="100%"
|
||||
config={{ file: { attributes: { playsInline: true } } }}
|
||||
url={rootStore.fileSrc}
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
)}
|
||||
</FormLabel>
|
||||
|
|
|
|||
|
|
@ -157,9 +157,12 @@ export const PresubmitStep = ({ prevStep }: PresubmitStepProps) => {
|
|||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width={"100%"}
|
||||
width="100%"
|
||||
config={{ file: { attributes: { playsInline: true } } }}
|
||||
url={rootStore.fileSrc}
|
||||
/>
|
||||
|
||||
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
|
|
|||
|
|
@ -69,8 +69,8 @@ export const ViewContentPage = () => {
|
|||
<ReactPlayer
|
||||
playsinline={true}
|
||||
controls={true}
|
||||
width={"100%"}
|
||||
config={{}}
|
||||
width="100%"
|
||||
config={{ file: { attributes: { playsInline: true } } }}
|
||||
url={content?.data?.display_options?.content_url}
|
||||
/>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue