vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - HTML5 Embedded Video & Audio Player - BBCode (https://vborg.vbsupport.ru/showthread.php?t=238937)

Coop1979 03-22-2010 10:00 PM

HTML5 Embedded Video & Audio 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 or audio 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!

as7apcool 03-23-2010 07:51 PM

thanks 4 good work

DivineMessenger 03-24-2010 01:11 AM

it says video and audio, what audio types does it support?

mandingo 03-24-2010 05:17 AM

Quote:

Originally Posted by DivineMessenger (Post 2009115)
it says video and audio, what audio types does it support?

Depends on the browser,double redundancy(have a "backup" filetype)usually covers it (unless someone's using ie,then..well..)
http://html5doctor.com/native-audio-in-the-browser/

gyaronn 03-24-2010 07:57 AM

thank you nice hack :-)

Coop1979 04-02-2010 02:09 PM

Glad to hear people are finding this useful! Just in recent days HTML5 Video is really catching on with the iPad coming out - CBS, ABC, and others are moving to HTML5 Video distribution.

jkcerda 04-14-2010 09:10 PM

cool

gyaronn 04-27-2010 11:05 AM

is there a program that i can use to convert to this format (i have a mac)??

jan1024188 05-02-2010 01:37 PM

Is this safe to use?

War.Frog 05-24-2010 08:33 PM

Quote:

Originally Posted by gyaronn (Post 2028053)
is there a program that i can use to convert to this format (i have a mac)??

http://www.mirovideoconverter.com/download_osx.html

Windows version here: http://www.mirovideoconverter.com/


All times are GMT. The time now is 07:32 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
  • Page Generation 0.02136 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete