
Autoplay videos when visible on android?
How to autuplay the video when it's visible to the user?
Just like Facebook and Instagram
How to autuplay the video when it's visible to the user?
Just like Facebook and Instagram
Hi there,
You should be able to set autoplay: 'viewable'
in your player setup to have it automatically begin playback when the player is at least 50% viewable on the page.
https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/#behavior
Thank you.
I'm sorry but I asked for android not javascript
My apologies – I saw that you said “Android” but assumed you mean when the player is embedded on a page and viewed in Chrome for Android. I’ll forward this case to our Android SDK Support Engineers who should be able to assist you.
Thank you.
Hi,
It depends on which class you’re using to scroll within the app, ListView, RecyclerView etc. There’s no built in functionality for this so any answer on stackoverflow that describes getting the scroll position of your container would suffice.