Skip to content

Commit 750060d

Browse files
committed
Fix sample app
1 parent d244049 commit 750060d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

example/ActiveLayerLayoutDemo.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)