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

Remove <video> tag limitations #458

Closed
DaniGuardiola opened this issue Dec 3, 2014 · 2 comments
Closed

Remove <video> tag limitations #458

DaniGuardiola opened this issue Dec 3, 2014 · 2 comments

Comments

@DaniGuardiola
Copy link

I'm developing an app where i use videos and, though the user can control it in a basic way (pause, play, jump in time), the app needs by design a better control of the video, as i will have to loop it a certain number of times, with different velocities, pausing and playing it programmatically and etc.

I found out that this kind of features where disabled on chrome for mobile (also the webview), and can only be fired on user input.
Also i found this setting, which i guess is related:
http://developer.android.com/reference/android/webkit/WebSettings.html#setMediaPlaybackRequiresUserGesture(boolean)

Idk about the arch of MCA but maybe it is as simple as enabling it by default or via manifest permission.

Thanks!

@agrieve
Copy link
Member

agrieve commented Dec 3, 2014

Think you're right! I've filed a bug on cordova-android about this and have checked in a fix. This will be included in the next cca release (likely next week).

https://issues.apache.org/jira/browse/CB-8112

@agrieve agrieve closed this as completed Dec 3, 2014
@DaniGuardiola
Copy link
Author

@agrieve That's awesome! Thanks!

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