Re: Running YouTube across Variants
Hello -
Newbie here and used the content you tube widget to insert videos but trying to validate site I get this message "The frameborder attribute on the iframe element is obsolete Use CSS instead". I Peter's above link to using css lazy load and assume I can copy and paste this and just replace the you tube embed reference number. This what I found :-
<iframe frameborder="0"
class="lazyload"
loading="lazy"
allowfullscreen=""
width="600"
height="400"
data-src="//www.youtube.com/embed/ZfV-aYdU4uE">
</iframe>
There is also a script underneath and I just wanted to know where I should copy this script to...
Thanks in advance
Stewart
Re: Running YouTube across Variants
The IFRAME Tag and following code go into a Placeholder Body.
The box would be set 600x400px.
Replace ' frameborder="0" ' with in-line ' style="border: none;" '
Acorn