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)

Phaedrus 01-02-2009 06:07 AM

Would this work with other video sites, just setting the {param} differently?

Dingo14 01-02-2009 09:01 PM

does anyone know if this draws on your server bandwidth to run the youtube videos like this just curious thanks

Fangs404 01-11-2009 07:31 PM

Quote:

Originally Posted by Daryn (Post 1693729)
Most of the HD videos I see on youtube are at 1280x720. The HD tag embeds at 630x380. Changing the size in the embed code seems to work, but is there anything else to change to get the full size in an embed?

I checked the size that YouTube actually uses (which isn't easily done since YouTube has a really complicated embedding scheme involving JavaScripts - I just took a screenshot and measured it), and it's actually not true 720p. YouTube displays at 858x508 for some odd reason, so that's what I'll alter the script to use.

Quote:

Originally Posted by Vaupell (Post 1698434)
Installed and working, except when using the "botton" feature it adds spaces around
the video id, so you manually have to remove the extra spaces for it to work.

makes this

[youtubehd]
bIgslPPC1BA
[/youtubehd]

instead of [youtubehd]bIgslPPC1BA[/youtubehd]

Tx again.



But nice and installed. .

I don't see this problem. When I hit the button, it just displays , no spaces or new lines. Glad you like it, though. :)

Quote:

Originally Posted by Dingo14 (Post 1699704)
does anyone know if this draws on your server bandwidth to run the youtube videos like this just curious thanks

No, it doesn't use any bandwidth from your server.

Quote:

Originally Posted by Phaedrus (Post 1699059)
Would this work with other video sites, just setting the {param} differently?

It's not quite that straightforward, but most video sites have embedding code. Just alter the URL before/after the {param} and it should work. I've already modified the same code for Vimeo.

dismas 01-13-2009 06:26 AM

Does this, or any, embedded YouTube code make it so that "mature content" videos either can't be screened or have it so that the end user has to confirm that they are of age?

Phaedrus 01-13-2009 07:09 PM

Quote:

Originally Posted by Fangs404 (Post 1708883)
It's not quite that straightforward, but most video sites have embedding code. Just alter the URL before/after the {param} and it should work. I've already modified the same code for Vimeo.

Well, yeah, and you'd have to use different tags, but I can see what you mean.

Excellent. I think I'll do this rather than the passive hack.

See if I can get people used to it by disabling the other hack in other forums...

Fangs404 01-14-2009 02:02 AM

I just tested it, and it appears that this does get by the age filter. The video I tried played just fine and didn't ask for an birthday or anything.

Chrakker 01-14-2009 01:52 PM

I always can NOT drop down the Thread Tools Menue ever when a post has been made with a Video in it ;S
IS that a bug?
had to uninstall it, because of that ;S

Fangs404 01-14-2009 03:06 PM

That's definitely not a bug with my BBCode. It's just a simple object HTML. It sounds like a browser bug on your end or maybe a bug with your template.

M3xital 01-14-2009 07:49 PM

Hi,
Thanks a lot, it works great!

Gweebs 01-15-2009 09:27 AM

Having problems with the youtube button image in the post a reply box. It works if I use a url from another site, but can't get it to link from my site (probably doing something wrong).

Also in FireFox it just shows the text and not a button (wrap [youtube] tags around text).
Probably because there's a prob with the image button.

Anyway, help!!!


All times are GMT. The time now is 02:46 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.01026 seconds
  • Memory Usage 1,738KB
  • 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
  • (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