Jump to:

23481 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » New HTML4 <video> tags

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1687 Views
  • wilsonStaff
    Community Member
    142 Posts

    New HTML4 <video> tags Link to this post

    Hi to all, i want to intergrate videos using HTML5 tags <video src="..." controls></video>

    Ive succeeded having the TinyCME accepts


    tags but when i try to add controls to the list like in


    <video src="assets/Uploads/videos/test.mp4" controls></video>


    <video src="assets/Uploads/videos/test.mp4"></video>

    so controls is skipped.

    Ive tried HTMLVAlidation = false in mysite/_config.php, to no success either.


  • 3dgoo
    Community Member
    133 Posts

    Re: New HTML4 <video> tags Link to this post

    What if you insert this?:

    <video src="assets/Uploads/videos/test.mp4" controls="controls"></video>

  • wilsonStaff
    Community Member
    142 Posts

    Re: New HTML4 <video> tags Link to this post

    Yup! That one works


    Now this...... it refuses poster, even if i added it to the valid elements!


    Added to valid_elements => video[src|type|width|controls|height|poster]

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.