vb.org Archive

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

Fangs404 02-04-2009 04:17 AM

Quote:

Originally Posted by the stig (Post 1733703)
What should I do now?

I have regular and HQ youtube bb code. Should I just change the BB codes in bb code manager? Will changing the bb code to a different dimension affect any of our previously embeded videos in various post/threads?

thanks.

Yes, it'll change all instances of youtube or youtubehq to be the new dimensions, including the previously embedded ones.

the stig 02-04-2009 11:43 PM

Quote:

Originally Posted by Fangs404 (Post 1733802)
Yes, it'll change all instances of youtube or youtubehq to be the new dimensions, including the previously embedded ones.

Much thanks, sir. This is the best youtube embedding hack till date.

Fangs404 02-05-2009 06:23 AM

Quote:

Originally Posted by the stig (Post 1734752)
Much thanks, sir. This is the best youtube embedding hack till date.

Thank you. That means a lot. :)

james-76 02-06-2009 04:55 PM

When i try to post these videos in the first post as a thread they come up as BORKED on firefox. When they are a reply to a thread so the 2nd post or after they work perfectly.

Can you help?

http://www.birdiechance.co.uk/forums...osted=1#post84

forgive the forum its not quite ready for the official opening just yet.


EDIT:
Ok I realised the problem and it was the tags and link were not on the same line. Iwill post below incase others have the same issue

Code:

This works fine

[YOUTUBE]1YQhoMt68CU[/YOUTUBE]

This comes up as BORKED and does not work

[YOUTUBE]1YQhoMt68CU
[/YOUTUBE]


Fangs404 02-06-2009 09:58 PM

Quote:

Originally Posted by james-76 (Post 1736275)
When i try to post these videos in the first post as a thread they come up as BORKED on firefox. When they are a reply to a thread so the 2nd post or after they work perfectly.

Can you help?

http://www.birdiechance.co.uk/forums...osted=1#post84

forgive the forum its not quite ready for the official opening just yet.


EDIT:
Ok I realised the problem and it was the tags and link were not on the same line. Iwill post below incase others have the same issue

Code:

This works fine

[YOUTUBE]1YQhoMt68CU[/YOUTUBE]

This comes up as BORKED and does not work

[YOUTUBE]1YQhoMt68CU
[/YOUTUBE]


Yeah, what that'll do is try to make the URL include a return which I guess causes YouTube to throw a fit.

Also, I don't know if you guys knew this, but if you want to make the video autoplay, you can do something like this:

Code:

[youtubehd]zlfKdbWwruY&autoplay=1[/youtubehd]
Just add &autoplay=1 to the end of the video ID.

the stig 03-20-2009 02:07 AM

Mr. Fangs404, looks like YouTube changed their default video size again (for regular and HQ videos). Would you be kind enough to update the sizes again? thanks.

Fangs404 03-22-2009 03:36 AM

Quote:

Originally Posted by the stig (Post 1772306)
Mr. Fangs404, looks like YouTube changed their default video size again (for regular and HQ videos). Would you be kind enough to update the sizes again? thanks.

Hm, according to my calculations, regular/HQ is 644x390 and HD is 858x508 which is what the BBCode uses currently. Are you seeing something different on your end?

Tannerman 03-25-2009 09:13 PM

Has anyone noticed in the last week or so while using this modification that HQ videos are no longer defaulting in HQ mode when embedded? The HQ button is there, but it's no longer the default when the video starts. Did something change on the parameter level?

Fangs404 03-29-2009 01:32 AM

I just removed the HQ YouTube tag (youtubehq). It's no longer necessary since the embedded player now has a HQ button built in. The embedded player actually also has an HD button if HD is enabled for the video, but I'm leaving the HD tag (youtubehd) because it's a physically larger player.

richardyoung 03-30-2009 03:05 AM

NIce.. just installed and works great


All times are GMT. The time now is 02:53 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.01089 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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