Skip to content

Commit

Permalink
Add playInline as a React Player prop for playing videos on mobile IOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Galpittel committed Dec 31, 2024
1 parent de95424 commit 1f8bfdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gallery/src/components/item/videos/videoItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ class VideoItem extends React.Component {
);

const attributes = {
playInline: true,
controlsList: 'nodownload',
disablePictureInPicture: true,
muted: !this.props.options.videoSound,
Expand Down

0 comments on commit 1f8bfdb

Please sign in to comment.