HTML Import 2
[resolved] Importing video tag (3 posts)

  1. Moraima R.
    Posted 3 years ago #

    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.


  2. Stephanie Leary
    Plugin Author

    Posted 3 years ago #

    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.

  3. Moraima R.
    Posted 3 years ago #


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • HTML Import 2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic