player.js icon indicating copy to clipboard operation
player.js copied to clipboard

play/pause methods don't work in android webviews unless video is muted

Open Threstle opened this issue 5 years ago • 1 comments

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 avatar Nov 29 '20 14:11 Threstle

@Threstle is this related to the autoplay policies?

have you tried something like? https://stackoverflow.com/questions/38975229/auto-play-video-in-webview

luwes avatar Dec 16 '20 17:12 luwes