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

Video doesn't autoplay on iOS devices #14

Open
iamsainikhil opened this issue Feb 5, 2022 · 1 comment
Open

Video doesn't autoplay on iOS devices #14

iamsainikhil opened this issue Feb 5, 2022 · 1 comment
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@iamsainikhil
Copy link
Owner

Describe the bug
Video embedded in he iframe on video page doesn't autoplay and the user should manually click on the play button to watch the video.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://trimtube.vercel.app/video?id=X9KAhR_fI6Y&start=108&end=141
  2. Video doesn't play automatically on mobile and tablet devices

Expected behavior
Video should autoplay instead of manual input from the user just like how it works on the desktop.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: iPhone13 and iPad Pro 12.9
  • OS: iOS 15
  • Browser : Chrome and Safari

Additional context
Add any other context about the problem here.

@iamsainikhil iamsainikhil added the bug Something isn't working label Feb 5, 2022
@iamsainikhil iamsainikhil self-assigned this Feb 5, 2022
@iamsainikhil iamsainikhil changed the title Video doesn't autoplay on mobile and tablet devices Video doesn't autoplay on iOS devices Feb 6, 2022
@iamsainikhil
Copy link
Owner Author

Autoplay seems to be working on Android, PC and MacOS devices but not on iOS devices.

https://stackoverflow.com/a/4903523 explains that there are restrictions on the video autoplay to save user's data bandwidth & costs.

However, it worked on iOS devices but with video muted which is not an ideal solution for this application.

@iamsainikhil iamsainikhil added good first issue Good for newcomers help wanted Extra attention is needed labels Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant