Html5Video constructor nulls out its _posterFrame set by super()
Closed this issue · 0 comments
karendolan commented
Describe the bug
Sometimes the poster frame does not show.
To Reproduce
Steps to reproduce the behavior:
Load a video that has a _stream.preview. The preview is not shown.
Additional context
The VideoElementBase sets the stream preview to the poster frame attribute. But classes that extends it sets it to null in their constructor after calling the super() on VideoElementBase.
Lines 581 to 597 in 763acdb
Example for Html5Video:
Lines 794 to 798 in 763acdb