Player will start playback in autoplay (and if play is manually requested) even if current actived track is not loaded. Track could end up not appearing or cues start appearing too late.
Test case:
Create a server with a several seconds delay when loading vtt files ( using setTimeout in node.js for example).
Use the delayed loading file in an autoplay player as default track.
A solution would be to wait for tracks loading to start the play. Adding a tracksloading state could trigger the load spinner and play action of the tech could wait for the loading of the tracks to start playing.
There is a workaround to find for mobile browser since you can only start a video in a DOM event handler.
Player will start playback in autoplay (and if play is manually requested) even if current actived track is not loaded. Track could end up not appearing or cues start appearing too late.
Test case:
A solution would be to wait for tracks loading to start the play. Adding a tracksloading state could trigger the load spinner and play action of the tech could wait for the loading of the tracks to start playing.
There is a workaround to find for mobile browser since you can only start a video in a DOM event handler.