[Resolved] iframe tag in Page header content

Home Forums Support [Resolved] iframe tag in Page header content

Home Forums Support iframe tag in Page header content

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #354012
    Roman

    I am experimenting with the blog page header content. Help for imput field says “HTML and shortcodes are allowed”. Then, following code should work, shouldn’t it?

    <iframe src=”https://www.youtube.com/embed/5dezYhcir0g?ecver=2&#8243; width=”640″ height=”360″ frameborder=”0″ style=”position:absolute;width:100%;height:100%;left:0″ allowfullscreen></iframe>
    #354097
    Leo
    Staff
    Customer Support

    Hi there,

    Just want to make sure that is not inserted in the meta box on the blog page? WordPress ignores all meta box on index pages by default.

    If so try using the blog page header in the customizer: https://docs.generatepress.com/article/blog-page-header/

    OR even better as you might be interested in the new page header addon: https://vimeo.com/223381628

    It should be released soon. Meanwhile you can become a beta tester: https://docs.generatepress.com/article/beta-testing/

    #354098
    Roman

    It is inserted using the blog page header in the customizer.

    #354105
    Leo
    Staff
    Customer Support

    I think your link has some wrong quotation marks. Just tried this and it works:
    <iframe width="560" height="315" src="https://www.youtube.com/embed/5dezYhcir0g" frameborder="0" allowfullscreen></iframe>

    Looks like some nice skiing by the way πŸ™‚

    #354109
    Roman

    The code with a questionmark was copied from YouTube share window. Anyway, as soon as I paste your code into customizer nothing happens. When I hit publish and close customizer and revert back the whole iframe tage is gone. Other HTML works just fine.

    #354124
    Roman

    Offtopic: Leo, just have overlooked your comment about skiing πŸ™‚ Thank you. The same video with soundrack is here (YouTube have stripped sound) http://www.dailymotion.com/video/x5rxk6i and ofcourse our web http://telezjetele.cz is all about skiing. Assuming from your gravatar you may be ski adicted as well πŸ™‚

    #354422
    Tom
    Lead Developer
    Lead Developer

    Hmm, interesting. In GPP 1.4, you won’t need to add your blog page header using the Customizer, so this will likely be a non-issue.

    You can try the beta by enabling beta updates as Leo mentioned above πŸ™‚

    #354427
    Roman

    Thank you for beta testing proposal, but I am short of time to investigate, implement and live test beta features. I will wait for GPP 1.4 release.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.