Skip to content

Commit 3e62e88

Browse files
committed
fix: disable iOS always fullscreening the video player...
1 parent 8f05669 commit 3e62e88

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

ui/src/components/VideoStream.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ watch(() => props.muted, (newMuted) => {
6767
</script>
6868

6969
<template>
70-
<video ref="video" :muted="muted" preload="none" controls />
70+
<video ref="video" :muted="muted" preload="none" controls playsinline />
7171
</template>

ui/src/views/CameraTimelineView.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ const closeClipperModal = () => {
421421
muted
422422
controls
423423
autoplay
424+
playsinline
424425
@ended="handleVideoEnded"
425426
@loadedmetadata="handleVideoLoadedMetadata"
426427
/>

ui/src/views/RecordingView.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const toggleFullscreen = () => {
120120
muted
121121
controls
122122
autoplay
123+
playsinline
123124
/>
124125

125126
<div class="absolute bottom-16 left-4 z-20 bg-gray-900/90 text-white px-4 py-2 rounded-md backdrop-blur-sm max-w-[calc(100%-2rem)]">

0 commit comments

Comments
 (0)