vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - Embed XHTML valid YouTube and Google Video into your posts (https://vborg.vbsupport.ru/showthread.php?t=130868)

Viper007Bond 11-06-2006 12:49 AM

Quote:

Originally Posted by morrow
Someone just posted this the other day.

https://vborg.vbsupport.ru/showthrea...hlight=youtube

That's just standard custom BBCode. Anyone can do that and I only provided how to do it for those who couldn't figure out how to do it themselves.

The real meat and point of this plugin is that it can accept full URLs rather than just the ID of the video. ;)

redlabour 11-06-2006 07:14 AM

Can you add wma and qt at the next Update please ? :)

Deinstalled the Plugin - to much Serverload. Take a look at the AnyMedia Code. ;)

Viper007Bond 11-06-2006 07:38 AM

Quote:

Originally Posted by redlabour
Can you add wma and qt at the next Update please ? :)

Standard custom BBCode should be enough to take care of that. Google will provide you with the needed HTML to do it. ;)

Quote:

Originally Posted by redlabour
Deinstalled the Plugin - to much Serverload.

Eh, how so? It's just a little bit of regex that's run on each post. And actually, think it only runs on new posts and is cached on old ones.

Hornstar 11-06-2006 09:52 AM

Looks good, Is there a way to enable/disable this to certain forums only tho?

Pagandream 11-06-2006 01:34 PM

great work!

bchertov 11-06-2006 06:33 PM

Great Hack! Thanks for sharing!

Maybe you can help me and possibly a few other users.

Currently I use YouTube's embed HTML to post YTs on my forum, though you hack will make it easier. It works great!

I have hacked my site to send out HTML emails of posts but the video is not shown in the html email, even though it works on the website. Is this possible? Do you know what I need to do to make it work?

Thanks!
Barry

Mecho 11-06-2006 07:38 PM

if we start to show some videos from those sites , is it use bandwidth of our server ??

Tnx

Viper007Bond 11-06-2006 09:34 PM

Quote:

Originally Posted by hornstar1337
Looks good, Is there a way to enable/disable this to certain forums only tho?

This mini-plugin just enhances the built-in custom BBCode feature to allow people to enter full URLs.

It's probably possible to write a plugin to disable certain BBCodes in certain forums, but this one is not it. ;)

Viper007Bond 11-06-2006 09:37 PM

Quote:

Originally Posted by bchertov
I have hacked my site to send out HTML emails of posts but the video is not shown in the html email, even though it works on the website. Is this possible? Do you know what I need to do to make it work?

Run the BBCode parser on your posts to get the HTML. My plugin doesn't actually do the BBCode or anything like that.

It just transforms:

[youtube]http://www.youtube.com/watch?v=9VOYF4jVo-Q&eurl=[/youtube]

to:

[youtube]9VOYF4jVo-Q[/youtube]

so that the built-in custom BBCode parser can make use of it.

fsakbas 11-07-2006 01:02 AM

thanks great job.


All times are GMT. The time now is 02:39 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.01350 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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