Skip to content

Commit

Permalink
fix(player): update playsinline state on prop change
Browse files Browse the repository at this point in the history
ref #964
  • Loading branch information
mihar-22 committed Oct 29, 2023
1 parent e2ae08e commit 4efe80b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vidstack/src/components/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ export class MediaPlayer

set playsinline(inline) {
this._queuePlaysinlineUpdate(inline);
this.$state.playsinline.set(inline);
}

@prop
Expand Down

0 comments on commit 4efe80b

Please sign in to comment.