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)
-   -   Mini Mods - Auto Youtube Link-Converter (https://vborg.vbsupport.ru/showthread.php?t=261296)

trackpads 09-18-2011 12:49 PM

Very nice Thanks!!!!

hoatran 10-02-2011 12:41 AM

Something going not right here. the first post is OK, but it not work from the second post???

Can anyone help?

420 10-16-2011 02:43 AM

Does this work on VB 3.86?

Juggernaut 10-23-2011 11:45 PM

Quote:

Originally Posted by hoatran (Post 2252182)
Something going not right here. the first post is OK, but it not work from the second post???

Can anyone help?

Same problem here.

Disasterpiece 10-24-2011 01:23 PM

Quote:

Originally Posted by Juggernaut (Post 2260734)
Same problem here.

Can you give me an example link where the problem occurs?

rjmjr69 10-25-2011 06:44 AM

Works great very speedy and seemless on 4.1.7

spencerp 11-02-2011 12:08 PM

Hi, I'm trying to use your code to spit out the video's thumbnail which is linked. Like, making a custom bbcode for "youtubepop"

Quote:

[youtubepop]JFwCCL0Vh6U[/youtubepop]
Code:

<a href="http://www.youtube.com/v/{param}.swf"><img  alt="YouTube" src="http://img.youtube.com/vi/
{param}/0.jpg" /></a>

Quote:

Youtube Popup: [youtubepop]YouTube ID[/youtubepop]
Which of course works, now trying to do your plugin as such for Fall back code:
Code:

<a href="http://www.youtube.com/watch?v=%1$s">
YouTube Video:<br /><img src="http://img.youtube.com/vi/%1$s/0.jpg" width="240" height="180" alt="Click here to view on youtube" /></a>

Doesn't work. Any suggestions? Doing that example for your own code, still puts out an embedded video... Any thoughts? Or maybe just try the bbcode in there instead of yours? LOL

Disasterpiece 11-02-2011 01:46 PM

the fallback code only prints, if the detected browser is a mobile browser.

I'm not sure what you're actually trying to accomplish... do you want only the image to be displayed and no embed code at all?

spencerp 11-02-2011 01:58 PM

Quote:

Originally Posted by Disasterpiece (Post 2263771)
the fallback code only prints, if the detected browser is a mobile browser.

I'm not sure what you're actually trying to accomplish... do you want only the image to be displayed and no embed code at all?

Ohhhh okay... But yeah, rather than not have it embed at all, I'd rather it provide a decent sized thumbnail from the video, and make the thumbnail link to video itself.

fishwestend 11-15-2011 02:00 PM

Like a dream on 4.1.8!


All times are GMT. The time now is 04:01 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.01509 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)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
  • (2)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