Welcome to TalkGraphics.com
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jul 2022
    Posts
    24

    Default 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

  2. #12
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,809

    Default 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
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •