Skip to content

Videos were not occasionaly autplayed in Viewer #2

@FrankMejzlik

Description

@FrankMejzlik

Problem:
Sometimes when task started, video didn't start automatically.

Reason:

  1. Viewer window didn't have any interaction yet and such window cannot autoplay unmuted video in Chrome.
  2. Ontimeupdate callback was called before video was in playable state which caused exception.

Solution:

  1. Check promise and catch exceptions. Have video muted by default and unmute it afterwards.
  2. Check if video is in a playable state in ontimeupdate callback.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions