You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MediaPlayer component does not apply the poster attribute to the underlying <video> element. This prevents the poster image from being displayed when using MediaPlayer to play an audio file.
Adding the poster attribute to MediaPlayer does not result in the <video> element receiving it.
As a result, the expected poster image is not displayed.
If controls is set on MediaPlayer, the poster appears, but this replaces the Vidstack controls with the browser’s default controls.
Expected Behavior:
The poster attribute should be correctly applied to the <video> tag when set on MediaPlayer.
The poster image should be visible when playing an audio file.
Vidstack’s custom controls should remain functional.
Steps To Reproduce:
Use MediaPlayer with the poster attribute.
Play an audio file.
Inspect the <video> element and observe that the poster attribute is missing.
Current Behavior:
The
MediaPlayer
component does not apply theposter
attribute to the underlying<video>
element. This prevents the poster image from being displayed when usingMediaPlayer
to play an audio file.poster
attribute toMediaPlayer
does not result in the<video>
element receiving it.controls
is set onMediaPlayer
, the poster appears, but this replaces the Vidstack controls with the browser’s default controls.Expected Behavior:
poster
attribute should be correctly applied to the<video>
tag when set onMediaPlayer
.Steps To Reproduce:
MediaPlayer
with theposter
attribute.<video>
element and observe that theposter
attribute is missing.Environment:
Anything Else?
Should be
The text was updated successfully, but these errors were encountered: