Responsive videos
-
This plugin works great and does what it needs!
Unfortunately I have need for my video be responsive. Once my video is responsive the time stamps no longer works. I have read your instruction to only paste youtube URL into wordpress but the video is not responsive if I do it this way.
I have added the video using the embed code from youtube, I have also placed the video using ultimate shortcode youtube shortcode and I have done it manually (see code below). In all instances the video is responsive but the time stamps does not work.
Is there a way to retain the responsiveness of the video and have the timestamps work?
It seems once the youtube address is wrapped in a div or iframe the timestamp no longer works.
Here is the code I use to make responsive:
<div class=”resp-container”>
<iframe class=”resp-iframe” src=”https://www.youtube.com/embed/dQw4w9WgXcQ” gesture=”media” allow=”encrypted-media” allowfullscreen></iframe>
</div>Here is the CSS:
.resp-container {
position: relative;
overflow: hidden;
padding-top: 56.25%;
}.resp-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}The page I need help with: [log in to see the link]
- The topic ‘Responsive videos’ is closed to new replies.