WordPress.org

Ready to get started?Download WordPress

Forums

Auto-generated `<p>` tags and embedded HTML (1 post)

  1. robdob
    Member
    Posted 4 years ago #

    We have a video player that embeds via HTML. We run a script to detect mobile browsers and replace the video (flash) with a HTML5 <video> tag.

    When we embed the player on a page via the WYSIWYG HTML editor, the code is wrapped in a <p> tag. This <p> tag prohibits the script from inserting the proper link in the new <video> tag.

    How can I remove the <p> that is auto-generated for the page and do I need to replace it with a different type of tag?

    thanks.

    on mobile browsers:
    non-working ex: http://riverpointe.tv/mobile
    working with out <p> tag: http://riverpointe.tv/mobile1.html

Topic Closed

This topic has been closed to new replies.

About this Topic