vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Auto youtube embed player ( NEW PLAYER ) (https://vborg.vbsupport.ru/showthread.php?t=251569)

maxell666 06-19-2011 03:09 PM

Unfortunately it doesn't work with http://youtu.be. Any idea how to correct it?

cstreater 10-10-2011 01:01 AM

Your code has a spelling error in it. Either way it works sometimes & others it doesn't. Sort of random.

Code:

<table widht="300" align="center" class="tborder" >

Chance4Today 11-11-2011 01:05 AM

Not working here either I can't find one youtube or any embed to work for vbulletin they all show link is all

Max Taxable 11-11-2011 01:15 PM

With help from BOP5 and one of my own in-house coders, we did a major modification of this mod. If I could get the coder's permission, I would release the details but if you want to see this mod REALLY work, land here in one of our music threads:

http://usmessageboards.com/showthread.php?t=83

The videos now do not load until you click on them, saving tons of pageload time in threads with lots of videos in them. Direct link to the video is embedded in the title, and the thumbnail of the video is used to represent the video. The video loads and autoplays on click.

Fivestones 05-02-2012 06:57 PM

thanks it is easy one to use ..

Qleb 05-24-2012 04:44 PM

it is now support all youtube servers

mudbugsports 06-05-2012 06:32 PM

Installed....works great ......thanks!

el-q6ri 07-28-2012 05:40 PM

it is not working with VBSEO?

ahmedeldeep 08-01-2012 01:47 AM

not working with SEO mods

nrdx1 08-01-2012 12:28 PM

thanks
but not working with vbseo

this site : http://www.e-moh.com/vb/

TGAREED 08-08-2012 07:50 PM

thanks ..

crazymook 08-16-2012 04:00 PM

ya...doesnt appear to work with vbseo :(

Midohash 08-19-2012 05:44 PM

Does it play the youtube videos in member's signatures?

CheS06 08-27-2012 02:38 AM

using 3.8.7, works well and lovely, thanks mate

zilibobo 10-09-2012 03:54 PM

Quote:

Originally Posted by PattiOz (Post 2107590)
can't get it to work - I still have a link.
Tried putting it inside a the URL tags.
Tried just typing it in.
Tried using the embed code in the CODE tag

I'm using 3.8.3

Any tips?

Same problem :(

ManuelW 11-03-2012 09:18 PM

Quote:

Originally Posted by zilibobo (Post 2371815)
Same problem :(

Same for me too :(

bluidkiti 08-12-2013 09:11 AM

Just added this to my 3.8.7 forum and works great. Thank you! :)

freak46 09-30-2013 04:21 PM

Not wroking for me having 4.2.1

Max Taxable 10-04-2013 04:54 PM

Quote:

Originally Posted by freak46 (Post 2449031)
Not wroking for me having 4.2.1

It's a Mod for version 3.8.x

4.2.1 already has media embedding as native, so not sure why you would want to add this.

faisaly.com 12-09-2013 09:27 PM

can anyone confirm this is still working using vb3.8.7

Qleb 01-27-2014 05:08 PM

i just update the mod , its support vbseo now

yotsume 03-26-2014 09:52 PM

I just tried this mod on a 3.8x board and it DOES NOT work. It only shows a small arrow where the video should be. Had to uninstall this and go look for a different mod...

shibby2 03-25-2015 02:09 PM

Does anyone know how to fix this problem? It happens now on two Youtube embed mods I've tried, including this one.

The problem is that if someone posts the youtube link with "https" in it, it will screw up the post real bad. If you use just "http", (no s) it looks fine.

Anyway to fix this?

samba7 04-10-2015 08:06 PM

Replaced http with https in the source code and works!

shibby2 04-19-2015 11:08 PM

Quote:

Originally Posted by samba7 (Post 2542815)
Replaced http with https in the source code and works!

Where exactly did you replace it? I've done the same, and it didn't help because then any links posted with https didnt work, but maybe I'm doing it in the wrong spot.

Thanks

ShawneyJ 04-20-2015 12:42 PM

1 Attachment(s)
Quote:

Originally Posted by shibby2 (Post 2543572)
Where exactly did you replace it? I've done the same, and it didn't help because then any links posted with https didnt work, but maybe I'm doing it in the wrong spot.

Thanks

hi mate, looking at the code, you would want to just remove the "http" all together.
making it "//www.youtube.com".

looking at the code more, its missing the the .com.
so instead of youtube.$2, try youtube.com$2.

turning this into just a youtube embed display like vb4, i removed the center frame and edited the code/size to normal youtube size. see attachments.

fyi: its not mobile compatible, so just basically helping others out. i tend to use mobile compatible mods.

jazzyname 06-28-2015 06:11 PM

did not work for me, 3.8

TheBang 04-07-2016 11:48 PM

1 Attachment(s)
I spent about 5 hours today working on modifying this to create a modern Auto YouTube Embed mod for my vBulletin 3.8 board (though this should also work on 4.x boards), and I thought I would share it here. This is a simple way for bare YouTube URL's in posts to be automatically converted to embedded video.

What it detects/auto-converts:

It will only match on URL's that are in BB code [url] links. I tried to make it match non-linked URLs, but it was a bad idea because it wreaked havoc with BB code tags that might have YouTube URL's in them, like [code] or custom [youtube] tags.

By default, vBulletin auto-[url] links text that starts with www, http, or https. That means this will match most YouTube URLs that users might put in their post, but text like m.youtube.com/watch?v=XXXXXXXXXXX would not match, unless the user explicitly puts [url] tags around it, because vBulletin would not auto-link it.

It will handle both HTTP and HTTPS URLs

It will handle www, m, or no prefix.

It will handle youtu.be and youtube.com URLs. Besides .com, it will also handle de, jp, ca, co, ch, au, net, and be.

It will handle YouTube URL's in the following forms: watch?v=, v/, e/, embed/

It will not pass through parameters in the URL like "autoplay=1" or "loop=1" or, unfortunately, start times (t=4m3s, for example), but it will not be tripped up by them either.

What it outputs:

It outputs iframe embedding code, which is the YouTube-preferred embedding method. This allows either the HTML5 player or Flash player to be used, depending on the browser's capabilities.

Fullscreen is enabled

16:9 embedded aspect ratio (700x394 pixels). If you want to change the size, simply edit the width and height in the XML file before installing.

yahsuah 04-14-2016 05:53 AM

Thanks TheBang!

RCK 07-29-2016 06:38 AM

A big thanks TheBang for this product :)

crazymook 08-11-2016 02:58 PM

Oh my god you're a lifesaver.

dbreh 08-13-2016 02:12 AM

Thanks so much --> ‘TheBang’ for this product, its great,

BadgerDog 08-15-2016 09:32 AM

Thanks TheBang ... :)

Installed your iFrame version on my vBulletin v4.1.3pl8 and it fixed the problems I was having with YouTube videos playing in-line with posts, for members using Chrome and Safari browsers..

Appreciate your efforts...

Regards,
Doug

White Bear 08-16-2016 06:14 AM

TheBang,

Outstanding job, Thanks !! :up:

shibby2 08-17-2016 04:38 AM

How do we install? Both files?

mito22 10-06-2016 10:08 AM

Thanks.. with the FLASH mod does it work on my VB 3.8.6

Panzer Max 10-22-2016 07:21 PM

Quote:

Originally Posted by TheBang (Post 2568638)
I spent about 5 hours today working on modifying this to create a modern Auto YouTube Embed mod for my vBulletin 3.8 board (though this should also work on 4.x boards), and I thought I would share it here. This is a simple way for bare YouTube URL's in posts to be automatically converted to embedded video.


.

Hey buddy, this worked great, where as the original did not work for me on a 3.8 forum. Thanks and thanks, you rock.

rjh 01-03-2017 05:06 PM

works like a charm, thanks! Now, I just have to go through the board and replace all of the existing [youtube][/youtube] instances with URL's.

RichieBoy67 03-26-2017 03:34 AM

Will this conflict with this?

https://vborg.vbsupport.ru/misc.php?...tomediaembed25

Want to install this for new videos but do not want to break the old ones posted with that mod.


All times are GMT. The time now is 11:47 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.01324 seconds
  • Memory Usage 1,792KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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