mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
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:
@@ -584,6 +584,8 @@ class ClapperPlayer extends GstClapper.Clapper
|
||||
{
|
||||
debug(`URI loaded: ${uri}`);
|
||||
this.needsTocUpdate = true;
|
||||
|
||||
player.play();
|
||||
}
|
||||
|
||||
_onPlayerWarning(player, error)
|
||||
|
Reference in New Issue
Block a user