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

Using option to use playsinline for videos? #183

Open
GregOriol opened this issue Nov 22, 2018 · 1 comment
Open

Using option to use playsinline for videos? #183

GregOriol opened this issue Nov 22, 2018 · 1 comment

Comments

@GregOriol
Copy link

Has the possibility to use playsinline been tried for video? It could be nice instead of the native fullscreen

@tespio
Copy link

tespio commented Apr 13, 2022

I think you can add after line 280 in vegas.js the following:

      video.autoplay = true;
      video.muted = true;
      video.playsInline = true;

It should add the playsInline (which is needed for iOS anyway).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants