Answer the question
In order to leave comments, you need to log in
How to display a full preview of an iframe video on mobile phones?
Hey! You need to insert a video from YouTube, but on mobile versions the video is cut off from the inside and the text on the video preview is cut off accordingly. How can I either stretch the video to full width or center it on the left side?
Answer the question
In order to leave comments, you need to log in
Already answered a similar question:
1) Keep the iframe aspect ratio the same as the video, for example, https://css-tricks.com/fluid-width-video/
Almost all frameworks like Bootstrap , Foundation already have ready-made presets for such frames
2) Don't embed iframe at all until asked by pepelsbay method https://www.youtube.com/watch?v=4JS70KB9GS0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question