I am using the following HTML5 and JQuery code to play a playlist of videos whose URLs are in an array URLArray[].
function NextFrag(){ if (index < URLA
What was missing for me in almost all answers I found on this topic is that I needed the playsinline attribute to work properly in mobile browsers (do not play fullscreen, instead embed it to the content of the website)
playsinline
So my full example would be: