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 - WebM BB Code (https://vborg.vbsupport.ru/showthread.php?t=314919)

Firyou 10-15-2014 10:00 PM

WebM BB Code
 
1 Attachment(s)
This is becoming a popular file across the internet nowadays, specifically on 4chan. These files, .webm, are similar to gifs in that they are moving images (small videos in this case). Installation of this bb code is pretty simple:

AdminCP > BB Code Manager > Add New BB Code

Title: WebM Embedder
BB Code Tag Name: webm
Replacement:
Code:

<video width="320" height="240" controls>
<source src="{param}" type="video/mp4">
<source src="{param}" type="video/ogg">
<source src="{param}" type="video/webm">
<object data="{param}" width="320" height="240">
<embed src="{param}" width="320" height="240">
</object>
</video>

Example: [webm]http://video.webmfiles.org/big-buck-bunny_trailer.webm[/webm]
Description: Embed WebM's onto forum
Use {option}: No
Remove Tag If Empty: No
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No

You can always change the video width and height to your liking in the code :)

rollingzone 10-28-2014 05:58 PM

Anyway to get the same thing but for gfycat files?

Pepperpeanut 05-13-2015 08:58 PM

Any suggestions on this?

I'm getting the file to load in the "test your bb code" section, but it just loads a blank player when put in a thread. HALP!

edit: nevermind. I had to turn off the link parsing. It kept insterting the [ url ] tags inside the [ webm ] tags which broke it. Thank you!

tharbin 07-23-2015 02:36 PM

strange, this works on the "Test your BB Code" just not on my site, even with every plugin disabled and default theme.

friendlymela 10-06-2015 08:03 AM

any screenshot?


All times are GMT. The time now is 01:51 AM.

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.00985 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete