Dear All
I am using the Origami Theme. I can embed a YouTube video easy enough using either the code or . What I am failing to do so far is work out how to wrap text around it?
1 – I have tried class=”alignright” inside the iframe.
2- I have tried an entire css div around the iframe
3- and I have tried
and put the “”video-wrap”” in the css file
#video-wrap { float: left; margin: 0 20px 5px 0; }
I have tried it with page builder and I have tried it in the old WP Page editor..everything is not working. It will work in Page Builder when you view it in the visual tab, but save the page and view it, and it goes….
and right now my brain is fried and I need help. Please.
Thank you
Hi Richard,
Origami by default has FitVids.js enabled (it allows for the video to be responsive) and that’s what’s preventing what you’re trying to do from working. To disable FitVids please navigate to WP AdminAppearanceCustomize, Theme SettingsResponsive and untick Use FitVids.
Thank you Alex, I will do that.
I did find a work around
In customise, additional CSS I added this
.video-frame .fluid-width-video-wrapper{
max-width: 500px;
padding-top: 31% !important;
float: left;
margin-right: 18px; width: 400px;
}
On on the page in the attributes option I added
video-frame
Kind regards
Richard