View Full Version : Mini Mods - Auto youtube embed player ( NEW PLAYER )
hey :cool:
this is the simplest and fastest youtube auto embed inside postbit
the mod will replace all youtube links to direct video player in your post
LIVE DEMO : CLICK HERE to see how its works (http://www.lebtalk.com/t308/?langid=3)
time to install : 1 sec
file upload : 0
configuration : none
change Log :
1- adding all youtube servers extensions
2- VBseo supported
https://vborg.vbsupport.ru/attachment.php?attachmentid=138649&stc=1&d=1337881369
all you have to do just upload the XML file from admincp and enjoy it ;)
GONUMBER6
10-04-2010, 12:33 AM
Installed and works great so far! Glad cuz the mod I was using quit working. Thank you for creating this! Like the silver framing too. Nice work. :)
Here is my photo and video forum if anyone wants to see it in action:
http://www.englishbulldognews.com/forums/forumdisplay.php?11-Bulldog-Photos-amp-Videos
Oh, wow- I just realized this was for vb 3.8, I am using vb 4.06 and it works great FYI, I will report if I have any problems~
GONUMBER6
10-06-2010, 02:18 PM
This modification is working on my forum vb 4.06 without any problems so far (2 days)
PattiOz
10-07-2010, 03:15 AM
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?
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?
could you please provide a link of your forum has youtube url in post , then i can see the page source to see the problem in your forum embed issue
please go to Plug-in manger and check if youtube embed player mod is turned ON
Fahad_H
12-15-2010, 11:06 AM
installed and works great. I was wondering, is there a way to make the default play set for the highest resolution?
thanks
Fahad_H
12-26-2010, 03:48 PM
how can I change the display height and width?
thank you
mbc100
12-26-2010, 05:49 PM
it looks nice but demo dos`nt working
SKSApps
01-05-2011, 06:02 AM
doesnt seem to work on Version 3.8.5 either
rinkrat
01-07-2011, 02:28 AM
No worky.
cuco2000
01-09-2011, 01:20 AM
really works, but there is a problem. To work properly, once created the post to edit, copy the link and paste it as plain text to work properly.
Sorry my bad english, here the original Spanish text (if you understand or have a translator) in case you did not come to fully understand the above.
"A mi me funciona, pero hay un problema. Para que funcione correctamente, una vez creado el post es necesario editarlo, copiar el link, y pegarlo como texto plano para que funcione correctamente."
5wadem
01-15-2011, 01:14 AM
working fine Thank you :)
Gosef
02-07-2011, 03:35 AM
thanks alot
Max Taxable
02-10-2011, 11:14 PM
Snapped right in and worked right off.
Thanks.
Crossbow
02-15-2011, 02:12 PM
Installed. Does not show up nor seems to be working in VB 4.1.1
BOWZONE
02-28-2011, 11:43 AM
Installed...works like a charm.
nicklfire
03-01-2011, 08:15 PM
i have had not great luck with this.. seems to work for some videos, but not for other, the pos just displays the link.
Here is my test section for this youtube player
http://www.bcaquaria.com/forum/bc-aquaria-announcements-news-2/changed-way-youtube-embed-works-12968/index2.html
Max Taxable
03-05-2011, 01:22 AM
i have had not great luck with this.. seems to work for some videos, but not for other, the pos just displays the link.
Here is my test section for this youtube player
http://www.bcaquaria.com/forum/bc-aquaria-announcements-news-2/changed-way-youtube-embed-works-12968/index2.htmlI have no trouble with it at all. Looks like you are posting the links with [url] tags wrapping them. Don't do that, just post the link raw and the system will tag it for you.
Example of what to post: http://www.youtube.com/watch?v=6E1ar1WLTUs
NO BB tags, nothing.
Andr? Noberto
03-05-2011, 10:25 AM
Show! thank you man, i installed the modification, is very good =D
Crossbow
03-08-2011, 11:16 PM
Thank you.
I have no trouble with it at all. Looks like you are posting the links with [url] tags wrapping them. Don't do that, just post the link raw and the system will tag it for you.
Example of what to post: http://www.youtube.com/watch?v=6E1ar1WLTUs
NO BB tags, nothing.
Is there any way to fix this? I have many old links wrapped with [URL] tags.
Thanks, greetings.
Max Taxable
03-10-2011, 12:50 PM
Is there any way to fix this? I have many old links wrapped with [URL] tags.
Thanks, greetings.I don't know any way to do a system wide find/replace in vBulletin. You're probably stuck with all the posts prior to installing this hack.
But, did what I told you prove accurate?
Texas-Hunter
03-14-2011, 10:42 PM
Installed works great...
Can this be changed to use another video host??
.
giabao88
03-18-2011, 07:20 AM
Don't use if use with bbcode spoiler
otectom
03-20-2011, 12:34 PM
installed and works fine on VB 4.1.2
igor123
04-10-2011, 12:23 PM
doesn't work. just inserts a text
khurtsiya
04-11-2011, 08:55 AM
supercool!! works like a charm on 3.8
thanks!!!!!
Teemberland
04-22-2011, 03:33 AM
This is great! Thank you!
wobbly
04-22-2011, 09:07 AM
Now that the Share link on youtube has been changed to
http://youtu.be/w9aG2qU9okk?hd=1
How can we fix this?
ShawneyJ
05-03-2011, 04:06 AM
ah i see, only works with URL LINK FROM BROWSER. thanks.
http://www.chatforums.net/graveyard/190167-testing-new-youtube-hack.html
mapleleaffans
05-03-2011, 05:12 AM
Marked as Installed! Works great fr me! Thank you! :)
Llandy
05-06-2011, 07:20 AM
Youtube has changed the "share" links. Is there an way to update this mod?
MagicThemeParks
05-06-2011, 10:38 AM
Is this not working with the new share links?
mapleleaffans
05-06-2011, 10:11 PM
Works fine for me guys. It works by using the actual link in the adress bar of your browser.
Llandy
05-07-2011, 07:32 AM
Works fine for me guys. It works by using the actual link in the adress bar of your browser.
Nope, cause often you will get a link that is longer then the actual "share" link, which this mod is built on.
Is this not working with the new share links?
Sadly it's not. Youtube changed their "share" links, which makes this mod outdated.
Max Taxable
05-09-2011, 04:34 PM
I'm having no such trouble with my install. The new "short" share link works fine.
GavoTrav
06-14-2011, 12:26 PM
Very good installed, resized for my forum 640x390
Demo: http://pvhax.com/forums/showthread.php?p=377291
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="youtubeplayer" active="1">
<title>Auto youtube embed</title>
<description>replace youtube link with player</description>
<version>1</version>
<url>http://www.lebch.com</url>
<versioncheckurl>http://www.lebch.com</versioncheckurl>
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>embed player</title>
<hookname>postbit_display_complete</hookname>
<phpcode><![CDATA[$embed_player = '
<table widht="640" align="center" class="tborder" >
<tr><td class="alt1">
<object width="640" height="390">
<param name="movie" value="http://www.youtube.com/v/\\4&hl=en_US&fs=1&rel=0&version=3">
</param>
<param name="allowFullScreen" value="true">
</param>
<param name="allowscriptaccess"value="always"></param>
<embed src="http://www.youtube.com/v/\\4&hl=en_US&fs=1&rel=0&version=3"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="390"></embed>
</object>
</td>
</tr>
</table>
';
$post['message'] = preg_replace('#(<a href="http://www.youtube.com)?/(v/([-|~_0-9A-Za-z]+)|watch\?v\=([-|~_0-9A-Za-z]+)&?.*?)">(http://www.youtube.com)?/(v/([-|~_0-9A-Za-z]+)|watch\?v\=([-|~_0-9A-Za-z]+)&?.*?)<\/a>#i', $embed_player, $post['message']);]]></phpcode>
</plugin>
</plugins>
<phrases>
</phrases>
<options>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>
drsli
06-14-2011, 04:55 PM
The youtube-browser-address-link with the syntax
"http://www.youtube.com/watch?v=videocodehere"
works on my side perfectly.
Thanks for sharing this handy addon! :)
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.
<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 ..
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
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
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
Not wroking for me having 4.2.1It'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
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
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
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
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 (https://developers.google.com/youtube/player_parameters). 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!
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 (https://vborg.vbsupport.ru/showpost.php?p=2568638&postcount=68)’ 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
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.
works like a charm, thanks! Now, I just have to go through the board and replace all of the existing instances with URL's.
RichieBoy67
03-26-2017, 03:34 AM
Will this conflict with this?
https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=automediaembed25
Want to install this for new videos but do not want to break the old ones posted with that mod.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.