vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   BB Code Enhancements - YouTube BB Code (W3C-compliant!) (https://vborg.vbsupport.ru/showthread.php?t=201698)

phonexpo 10-10-2009 12:13 PM

Installed, working perfectly.

Thanks

-Patrick

manofphat 02-18-2010 02:33 AM

I'm looking for a way to convert the YouTube posts generated by this mod on my 3.8.0 forum to the new vBulletin 4.0 media embedding system. Any suggestions?

Fangs404 02-23-2010 02:00 AM

Quote:

Originally Posted by manofphat (Post 1985223)
I'm looking for a way to convert the YouTube posts generated by this mod on my 3.8.0 forum to the new vBulletin 4.0 media embedding system. Any suggestions?

I don't have vB4, so I'm afraid I can't help you right now.

salvador21 02-23-2010 06:01 AM

I think you would do a search (in the database?) for [YOUTUBE] tags, replace with [VIDEO] and aff the youtube full URL.

Not something I would like to try.

cayne 02-25-2010 11:35 PM

Installed the code and it works like a charm. Thanks for your work!

But I got a question, it has only partly something to do with your code, but I'm sure you can point me into the right direction.

You gracefully included the YouTube buttons, but I don't know how I can make them appear on my forum, when I go to "advance reply" like it is done on this board:

https://vborg.vbsupport.ru/

What option do I have to edit in order to make the button show up there?

Thanks in advance!

Fangs404 02-28-2010 07:27 AM

Quote:

Originally Posted by cayne (Post 1991642)
Installed the code and it works like a charm. Thanks for your work!

But I got a question, it has only partly something to do with your code, but I'm sure you can point me into the right direction.

You gracefully included the YouTube buttons, but I don't know how I can make them appear on my forum, when I go to "advance reply" like it is done on this board:

http://f.imagehost.org/0130/youtube.jpg

What option do I have to edit in order to make the button show up there?

Thanks in advance!

When you add the BB Code, just make sure "Button Image" is set to the correct path.

AllinJac 04-01-2010 06:47 PM

I think you guys were referring about this:

When you have a video and you have other Javascript items there is an issue because the window for the video will appear OVER the window of any other item you have on the page and it looks off...

I know exactly how to fix it if you use HTML... I also know for sure that we could create some kind of CSS addition that would allow for this to be done across the board as apposed to having to change the code each and every time...

Code:

<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/afktJyLhO7Y&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/afktJyLhO7Y&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340" wmode="transparent"></embed></object>
The key is wmode="transparent and that if used as HTML will make it go behind the page or be transparent behind other we items...

If anyone is capable of doing a CSS addition that we could have this wmode="transparent automatically work with the [youtube] video embed that would be just awesome!!!

THANKS

AllinJac 04-02-2010 03:17 AM

Quote:

Originally Posted by segwayon (Post 1876823)
I noticed that when viewing a thread with this BBcode embedded YouTube video that the "Thread Tools"/"Search this Thread"/"Rate Thread"/"Display Mode" drop-down menus get covered up by the video when those menus are clicked on. All I can see are the first two menu drop-down options. (Most of our embedded videos are contained in their own threads, so the videos are always in post #1 of each of the video-forum threads. If the videos were only within posts #2 or greater then this issue wouldn't happen, since the thread menu links are immediately above post #1.)

Is there a way to make sure that the YouTube video doesn't get placed on the top-most layer of the thread?


YES I got it fixed I had the exact same issue and I was trying to figure out where to put the code to take care of it globaly... And silly me did not think of looking in the BB Code in the ADMIN CP

So for sure this works

<object width="425" height="350"><param name="wmode" value="transparent"><param name="movie" value="http://www.youtube.com/v/JFwCCL0Vh6U"></param><embed src="http://www.youtube.com/v/JFwCCL0Vh6U" type="application/x-shockwave-flash" width="425" height="350" wmode="transparent"></embed></object>

Just go to the BB Code in Admin CP and edit the page...

Place the above text in there and you are GOLDEN!

Wow this is cool this is the first time I have actually helped someone fix something rather then crying and looking for someone to repair my bad fixes LOL!!!

Hope this helps!!!

LOKIN510051 12-17-2010 02:54 AM

muy bueno gracias

Suiram 12-27-2010 08:34 AM

Quote:

Originally Posted by Fangs404 (Post 1869369)
OK, HD videos will work again. I had to change &fmt=22 to &hd=1.

cool, so i can finally (again) have youtube clips that are high-def, automatically play @720. but is there a specific code that plays the clip @1080? (yes, obviously the clip would have that resolution). just for kicks, i tried &hd=0 & &hd=2 and that just plays them @360.

in fact, is there a specific number or code for all available resolutions? ie: is there one for 480?

thanks,


All times are GMT. The time now is 12:57 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.01424 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)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