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