• Resolved stuartb3502

    (@stuartb3502)


    Hi – we have put a video on our homepage as an iframe as part of a child theme.

    I’m trying to get Lyte to handle this but to get it working.

    I have tried the include iframe setting – nothing changes as far as I can tell looking at the rendered page source. I can see the Lyte js and css included but noting different about the iframe/Youtube player section of the page.

    This is what is in our child theme.

    echo '<div><iframe src="https://www.youtube.com/embed/_SQkWbRublY?vq=hd1080&modestbranding=1&showinfo=0&rel=0&color=white" width="560" height="315" frameborder="0" allowfullscreen></iframe></div>';

    I then tried replacing that with…

    echo do_shortcode( '[lyte id=“_SQkWbRublY“]' );

    This produces the text – httpv://www.youtube.com/watch?v=“_SQkWbRublY“ – displayed on the page.

    Not sure what I’m missing.

    Thanks
    Stuart

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using within a theme (php)’ is closed to new replies.