Auto-generated `<p>` tags and embedded HTML
-
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: https://riverpointe.tv/mobile
working with out<p>
tag: https://riverpointe.tv/mobile1.html
- The topic ‘Auto-generated `<p>` tags and embedded HTML’ is closed to new replies.