Conversation
|
The height is set on purpose to prevent YouTube branding from showing up. Use the poster component to address the pixelated issue as shown in the docs: React: <MediaPlayer>
<MediaProvider>
<Poster className="vds-poster" />
</MediaProvider>
</MediaPlayer>HTML: <media-player>
<media-provider>
<media-poster class="vds-poster" />
</media-provider>
</media-player> |
|
Oh, well thanks for the hint. Yep when setting a poster source the Maybe its worth to implement from vidstack by default Best regards |
|
No source is required when using the YouTube provider, the poster should work as expected. The above examples assume you're using the Default Theme and you've applied the |
|
Im using the normal js api so i can progressively enhance the browsers video element or in this case iframe. When the player is created form the iframe the aspect ratio gets set to unset. And the element will be just 150px in height. PS: i tried to include the web components element as reference but i somehow couldn't get it working. |
Related:
/
Description:
The iframe height was set to
1000%instead of100%wich resulted in a cropped and pixelated preview image.Ready?
yes
Anything Else?
/
Review Process:
/