File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -305,9 +305,8 @@ export const ActiveLayerLayoutDemo: React.FC<ActiveLayerLayoutDemoProps> = ({ on
305305 < View style = { styles . videoContainer } >
306306 < View style = { styles . videoWrapper } >
307307 < CLDVideoLayer
308- key = { currentExample } // Force remount when switching examples to reset state
309308 cldVideo = { createMyVideoObject ( ) }
310- videoUrl = { ( currentExample === 'subtitles' || currentExample === 'quality' ) ? ' https://res.cloudinary.com/demo/video/upload/sp_sd:subtitles_((code_en-US;file_outdoors.vtt);(code_es;file_outdoors-es.vtt))/sea_turtle.m3u8' : undefined }
309+ videoUrl = ' https://res.cloudinary.com/demo/video/upload/sp_sd:subtitles_((code_en-US;file_outdoors.vtt);(code_es;file_outdoors-es.vtt))/sea_turtle.m3u8'
311310 autoPlay = { false }
312311 muted = { true }
313312 showCenterPlayButton = { true }
You can’t perform that action at this time.
0 commit comments