player.js
player.js copied to clipboard
play/pause methods don't work in android webviews unless video is muted
Expected Behavior
We should be able to control the video with play/pause methods.
Actual Behavior
It just fails silently in android webviews (works fine on iOS), unless the video is muted.
Steps to Reproduce
Open the following codepen in a webview and try to click on the play button : https://codepen.io/Threstle/pen/ExgaRVj I have made a fake instagram account with the link of the codepen in the bio in order to be able to open it in a webview quickly. Look for threstle3
@Threstle is this related to the autoplay policies?
have you tried something like? https://stackoverflow.com/questions/38975229/auto-play-video-in-webview