Support » Plugin: HTML Import 2 » Importing video tag

  • Hello thanks for such a great plugin, works wonderfully, only I have a question, how the tag <video>…</video> can be imported inside html file?
    It has a css include and js for this to work (but I have a way to include this through the template), I need this code but is missing when finish the import

    <video id="example_video_1" class="vjs-default-skin" controls preload="none" width="630" height="354"
        <source src="directory/video000.mp4" type='video/mp4' />
        <track kind="captions" src="captions.vtt" srclang="en" label="English" />

    Did I miss something?

    Thanks in advance for your time,
    Best Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stephanie Leary


    If you are not using the HTML cleanup options, the code should be imported. If you are using the cleanup, you’ll need to add <video><source><track> to the allowed HTML tags, and all the attributes to the allowed attributes list.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Importing video tag’ is closed to new replies.