Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add playInline as a React Player prop for playing videos on mobile #1331

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add playInline as a React Player prop for playing videos on mobile IOS
Galpittel committed Dec 31, 2024
commit 1f8bfdb9f1c31ce4c7e186d64c2523d9ae1ebc51
1 change: 1 addition & 0 deletions packages/gallery/src/components/item/videos/videoItem.js
Original file line number Diff line number Diff line change
@@ -173,6 +173,7 @@ class VideoItem extends React.Component {
);

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

Unchanged files with check annotations Beta

Check warning on line 10 in packages/gallery/src/components/gallery/index.tsx

GitHub Actions / lint (16.20.0)

Unexpected any. Specify a different type

Check warning on line 11 in packages/gallery/src/components/gallery/index.tsx

GitHub Actions / lint (16.20.0)

Unexpected any. Specify a different type

Check warning on line 4 in packages/gallery/src/components/helpers/emitter.ts

GitHub Actions / lint (16.20.0)

Unexpected any. Specify a different type

Check warning on line 10 in packages/gallery/src/components/helpers/emitter.ts

GitHub Actions / lint (16.20.0)

Missing return type on function

Check warning on line 12 in packages/gallery/src/components/helpers/emitter.ts

GitHub Actions / lint (16.20.0)

Forbidden non-null assertion

Check warning on line 34 in packages/gallery/src/components/helpers/emitter.ts

GitHub Actions / lint (16.20.0)

Missing return type on function

Check warning on line 44 in packages/gallery/src/components/helpers/emitter.ts

GitHub Actions / lint (16.20.0)

Missing return type on function

Check warning on line 1 in packages/gallery/src/components/helpers/proxy.ts

GitHub Actions / lint (16.20.0)

Unexpected any. Specify a different type

Check warning on line 34 in packages/gallery/src/components/helpers/thumbnailsLogic.ts

GitHub Actions / lint (16.20.0)

Unexpected any. Specify a different type

Check warning on line 34 in packages/gallery/src/components/helpers/thumbnailsLogic.ts

GitHub Actions / lint (16.20.0)

Unexpected any. Specify a different type