Skip to content

Commit 13162fd

Browse files
committed
fix(player): controls should only be hidden on iphone under certain conditions
1 parent 128151f commit 13162fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/vidstack/src/components/player.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ export class MediaPlayer
369369

370370
private _isIOSControls() {
371371
const { controls, playsinline, started, fullscreen } = this.$state;
372-
373372
return (
373+
IS_IPHONE &&
374374
!canFullscreen() &&
375375
this.$state.mediaType() === 'video' &&
376376
((controls() && !playsinline()) || (!playsinline() && started()) || fullscreen())

0 commit comments

Comments
 (0)