play audio on end of drag

I have some problem with autoplay.

I added event listener on touchend to an element. I want to play audio when i finish drag finger on this element.

Everywhere is written that on touchend event audio should be playing, but it doesn't. Audio is playing only if i click fast on the element without drag,

I found here: https://bugs.webkit.org/show_bug.cgi?id=149367 that: "Allowing media to play on touchstart means that ads videos and audio will autoplay when you scroll"


Can I suppose that if touchend event comes from drag then audio will not play?

The safari can save the size of file for payment of big file on packet.

If you must the audio data to autoplay in iPhone's/iPad safari.

You must create the Native API on SDK service.

Or if you wanna set from html, You can be hibrid API on monaca IDE.


https://ja.monaca.io/

play audio on end of drag
 
 
Q