WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Moraima R.
    Member
    Posted 1 year 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"
          poster="videoplayer.png"
          data-setup="{}">
        <source src="directory/video000.mp4" type='video/mp4' />
        <track kind="captions" src="captions.vtt" srclang="en" label="English" />
    </video>

    Did I miss something?

    Thanks in advance for your time,
    Best Regards.

    http://wordpress.org/extend/plugins/import-html-pages/

  2. Stephanie Leary
    Member
    Plugin Author

    Posted 1 year 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.
    Member
    Posted 1 year ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic