![]() |
HTML5 Embedded Video Player - BBCode
1 Attachment(s)
This will work on all versions of VB.
With support for HTML5 in FireFox, Safari, and Google Chrome, it's now very easy to embed videos on your site without the need for a lot of special coding or plug-ins. The <video> tag is supposed to replace Flash by linking to video files in the same way that the <img> tag links to images. The only catch is that right now the video files have to be in either .ogg, .ogv, .oga, or .ogx formats. These are all open source formats and easy to find converters for. Instructions: Go to your AdminCP, look under Custom BB Codes, then click Add New BB Code. Title: HTML5 Video BB Code Tag Name: video Replacement: <video src="{param}" width="640" height="360" controls> Your Browser does not support the video tag, upgrade to Firefox 3.5+, Google Chrome, or Safari.</video> Example: [video]http://upload.wikimedia.org/wikipedia/commons/9/9d/Roomba_video.ogv[/video] Description: Use this code to embed ogv HTML5 videos. Click "Save" and... Done! |
<video width="640" height="360" poster="poster.jpg" controls autoplay>
<source src="{param}" type="video/ogg"></source> </video> perhaps better? |
Hello its only me again,
This code works fine but i have noticed if i want to post more than one video in a post it wont let me. Do i need to add some thing to this code below to enable me to do this <video src="{param}" width="640" height="360" controls> Many thanks Malc |
All times are GMT. The time now is 03:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|