Restore manual play call

Autoplay was causing some racy conditions when loaded with subtitle uri. Make it play after uri loaded signal, but still prevent going from stopped to play 2nd time.
This commit is contained in:
Rafostar
2021-05-04 18:46:22 +02:00
parent fc51fd857c
commit 970b1487ac
2 changed files with 10 additions and 4 deletions

View File

@@ -584,6 +584,8 @@ class ClapperPlayer extends GstClapper.Clapper
{
debug(`URI loaded: ${uri}`);
this.needsTocUpdate = true;
player.play();
}
_onPlayerWarning(player, error)