html-canvas-video-player icon indicating copy to clipboard operation
html-canvas-video-player copied to clipboard

audio not working

Open LanceMango opened this issue 9 years ago • 2 comments

Hi stanko,

for me, audio is still not working on iPhone6. and the whole plug isn't working on android. should it?

Greetings Lance

LanceMango avatar Sep 01 '16 12:09 LanceMango

Hi Lance, I just tried it on iPhone 6 plus and iPhone 6s and audio works on both. If you are trying on demo, it is disabled on purpose https://github.com/Stanko/html-canvas-video-player/blob/gh-pages/index.html#L158

Just pass audio: true in player options.

I hope that answers your question.

Stanko avatar Sep 02 '16 12:09 Stanko

Hey Stanko,

thx for your reply. Yes, you are right. But you have to trigger it directly with an event like click.

What I tried was, to fire the video after an animation has finished. This seems to be handled as an autoplay then and sound is not working. you can simulate it with a simple timeout. if the timeout is to long, it won't work.

can you reproduce it?

Greetings Lance

LanceMango avatar Sep 02 '16 14:09 LanceMango