Open khacnhat opened 3 years ago
I have the same issue. It seems like the isVideoView property never switches over to 'true', therefore the inline padding-top:56.25% is not set. The height of 40px is the min-height of the .player class.
I'm also having this same issue. Anyone have a quick fix or hack since .player is in the shadow root.
Even though I've seen this issue before I can't repro right now strangely. Not seeing happen on the Vime demo page either.
as a trick I use prop viewType=ViewType.Video for VimePlayer component (React example)
<VimePlayer ref={playerRef} viewType={ViewType.Video}>
<Youtube videoId={id} />
<DefaultUi />
</VimePlayer>
Bug Report
Vime version:
Vime version: 5.0.33 for Angular
Provider:
[] Audio [] Video [] HLS [] DASH [x] YouTube [] Vimeo [] Dailymotion
Current behavior:
The size of the video is too small. It's about 40px of height only.
Expected behavior:
The size should be bigger. For example the min-height is 500px. It's better if it supports responsiveness.
Steps to reproduce: I just use Vimeo as is instructed in the documentation: https://vimejs.com/components/providers/youtube
Related code:
Other information: