Skip to content

Commit 36aeb30

Browse files
committed
fix: try playsinline for safari
1 parent c613120 commit 36aeb30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Scan.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ watch(() => results.value.size, (size) => {
188188
<a v-if="dataUrl" :href="dataUrl" download="foo.png">Download</a>
189189
<pre v-if="error" text-red v-text="error" />
190190
<div relative h-full max-h-150 max-w-150 w-full>
191-
<video ref="video" autoplay muted aspect-ratio-1 h-full w-full controls="false" />
191+
<video ref="video" autoplay muted playsinline aspect-ratio-1 h-full w-full controls="false" />
192192
<p absolute bottom-1 right-1 border rounded-md bg-black px2 py1 text-white font-mono shadow>
193193
{{ fps.toFixed(0) }}hz | {{ shutterCount }} | {{ currentBandwidthFormatted }}
194194
</p>

0 commit comments

Comments
 (0)