Open jeromechoo opened 10 months ago
My proposal is: replace link preview with youtube player directly in post body (onClick). This empty modal makes no sense
Youtube embeds are still small
@Alex0007 do you have a link to the post? Suspect the dimensions are from the API response which probably points to the thumbnail sizes. Else, I don't see any way to know the video's actual dimensions (Video is inside an iframe of another site which won't expose any info).
One possible way, is to not follow dimensions from API response and make it as huge as possible, and hopefully the content inside the iframe knows how to fix its own layout 🤔
Edit: I just checked; I hard-coded a max width of 480px now set on Phanpy's side.
@cheeaun yeah it's still hilariously small 😑 i'd say that modal with small youtube frame is useless (blocks every other functionality + video is unwatchable without going to fullscreen because of small size)
Still! (sorry for bumping this issue, but it just looks weird every time i get to that screen)
Describe the bug Opening a Youtube video from a post leads to a view with a working video embed but it is extremely small as to be unviewable unless full screened.
To Reproduce Steps to reproduce the behavior:
Expected behavior Video should scale to something appropriate to the viewport size.
Screenshots Current size:
Proposed size:
Desktop (please complete the following information):
Additional context Reproducible across latest Chrome and Safari.