Posted - 04/05/2024 : 16:43:37
I know this topic is kind of old, but when I inserted videos through the Froala editor into the long product description, they were not responsive and popped out of their container.
I have the php version, but it should be the same either way.
If you go into code view, you can insert the video iframe into this div. Make sure the css rules are added to your css file.
<div class="video-container"> insert your video iframe here </div>
.video-container { position: relative; padding-bottom: 56.25%; padding-top: 12px; height: 0; overflow: hidden; margin-top: 15px; margin-bottom: 30px; } .video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
Sonrise Stable Books
Edited by - sonrisestable on 04/05/2024 16:44:34
|