Please upgrade here. These earlier versions are no longer being updated and have security issues.

HTML5 video tag

LaurLaur New
edited June 2012 in Vanilla 2.0 - 2.8

Hi,

How i can enable to can use <video> tag in editor ?

Tagged:

Comments

  • peregrineperegrine MVP
    edited June 2012

    Probably is a different answer depending on which of the 4 or 5 editors available for vanilla - buttonbar, cleditor, sceditor, etc, etc. as well as htmlawed.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • i use Buttonbar

  • ToddTodd Chief Product Officer Vanilla Staff

    It doesn't look like we filter out video elements. I think you can just put the video tag right in. Have you tried this?

  • yes, but this tag is hiden on it, doesn't work.

  • ToddTodd Chief Product Officer Vanilla Staff

    Is it there when you view source?

  • LaurLaur New
    edited June 2012

    In editor ai have http://i.imgur.com/QGhfm.png
    And in source code ai have http://i.imgur.com/u6u2c.png

  • if you would have posted your code in a "C" code tag I would have tested. but I can't cut and paste from an image.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • <video class="sublime" poster="http://media.jilion.com/vcg/ms_800.jpg" width="640" height="360" data-name="Midnight Sun" data-uid="57fb2708" preload="none"> <source src="http://media.jilion.com/vcg/ms_360p.mp4" /> </video>

  • you will have to get htmLawed to accept it, html5 version hasn't been released yet.

    http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=214

    You are definitely goign to have to deny some attributes through spec, patnaik is the person to ask.

    grep is your friend.

  • x00 said:
    you will have to get htmLawed to accept it, html5 version hasn't been released yet.

    http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=214

    You are definitely goign to have to deny some attributes through spec, patnaik is the person to ask.

    I make this changes but no results :|

  • x00x00 MVP
    edited June 2012

    I don't think you are understanding this is not a quick fix, it is general guidance on how to add tags to the whitelist, talk to patnaik.

    People who expect thing just to magic up, are going to get burnt, especially if they manage to get somethign that just about works.

    grep is your friend.

Sign In or Register to comment.