![]() |
[YouTube] Integration with Links & Downloads Manager (LDM 2.2.6)
Intro/About:
If you're not familiar with Links and Downloads Manager you should be! It's one of the most robust hacks for vBulletin out there and allows you the Administrator to add vast amounts of content to your board on your own, or via your board members. This hack, for LDM 2.2.6 and vB 3.6.X will allow your links to YouTube videos to play inline within LDM. This hack requires:
In your links_playbit template find: HTML Code:
<td align="center"> HTML Code:
<if condition="$player=='youtube'"> In your ./includes/local_links_include.php file find (around line 2590): PHP Code:
PHP Code:
Live Demo/Example: http://www.amacny.com/vb/local_links...=53&linkid=506 If you're getting an error stating that it's an Invalid Filetype. Go into your LDM settings, and edit 1 of these options, either: musicbox_filetypes, or musicbox_filetypes_divx, or musicbox_filetypes_quicktime, or musicbox_filetypes_realplayer. Remove ALL entries in the setting you choose. Until I can make this mini-mod work WITH all those settings intact, this is the quick-fix. Chances are you're not using ONE of those players. Don't forget to click https://vborg.vbsupport.ru/ |
Hello,
I just went and checked out your example only to find that there is a syntax error at line 42, char 24. This of course prevented whatever you tube video from loading or even beginning to load. If you follow the link directly, it opens the video on the next page. Id there suppose to be a "mini" version on the example page itself? |
That page error is actually a part of my code with the left navbar I created. It has nothing to do with the YouTube LDM integration. As for the link not working... what browser are you using? I've tested this in IE 6&7, and it works great.
|
Nice hack |oR|Greg .. well done :)
|
awesome..........
|
Im getting invalid file type specified error when user clicks on the link. Any help?
What link do you use when adding a youtube video? ive tried the url but that gives me an error as stated above when clicked on. |
What's the link you're using?
|
Nothing showing using firefox :)
|
Im using normal links given from youtube. The URL not the embed code.
|
Quote:
Quote:
|
Im using this: http://www.youtube.com/watch?v=Nxn6PRCEGu8
Again gives me error: invalid filetype specified. |
<a href="http://www.amacny.com/vb/local_links.php?catid=53" target="_blank">http://www.amacny.com/vb/local_links.php?catid=53</a>
Try the link I made for you, seems to work for me. Which means you missed a file edit, I'm thinking the edit for the in your ./includes/local_links_include.php file. Go thru the steps again. |
Quote:
|
I get this error
invalid filetype specified. |
Make sure you edited the files as well as the template.
|
Ok I reedited everything still getting the same problem :(
|
Can you PM me please with a link to your site, and an admin account that I can use to look into things. Also, attach your local_links_include.php file to this thread. You did UPLOAD the modified file after you altered it yes?
|
Heres my php file im using and ive pmed you :)
Edit: updated file im using |
Hey greg just wondering can you do the same thing to google videos?
Heres a link to one I wanted to add: http://video.google.com/googleplayer...99&hl=en" |
I tried them as well, and for whatever reason it wouldn't work. I'll keep working at it.
|
Can this be used as a vbadvanced module? If so, how?
I want to show my latest video on my CMPS pages. Not just the title. I already have that. I want to show the player with the latest video on my CMPS pages. |
I rechecked my work and it all looks fine to me..still getting invalid file type.
|
I have updated the hack with the following:
If you're getting an error stating that it's an Invalid Filetype. Go into your LDM settings, and edit (musicbox_filetypes). Remove ALL entries in this setting. Until I can make this mini-mod work WITH all those settings, this is the quick-fix. Alfa, if you figure out how, let us know. That's not something I'm interested in exploring at this time. |
If your using mp3 etc you can also just remove the mov extension from
musicbox_filetypes_quicktime Filetypes that can be played through QuickTime. That will still play both formats using the jukebox. check www.versionist.com |
Cool, so basically, if you just disable 1 of them it still works? What about DIVX?
|
Yea thats better yet. Know one use that anyways. Remove divx and put mov back in and it works
|
Updated the instructions with:
If you're getting an error stating that it's an Invalid Filetype. Go into your LDM settings, and edit 1 of these options, either: musicbox_filetypes, or musicbox_filetypes_divx, or musicbox_filetypes_quicktime, or musicbox_filetypes_realplayer. Remove ALL entries in the setting you choose. Until I can make this mini-mod work WITH all those settings intact, this is the quick-fix. Chances are you're not using ONE of those players. |
|
Any news on this hack? It's mighty interesting to have with google video...
|
Quote:
http://www.amacny.com/vb/local_links.php?catid=7 HOWEVER... I am not releasing the GOOGLE version because Andrew is going to include both the Google and YouTube versions in the next release of LDM which is coming soon. He may or may not also release additional sites which I suggested. We'll see. |
Extremely nice! Many thanks for your work.
I think I have a pretty good idea on which sites you suggested. It would be awesome if more video sites where implemented. |
I got StreetFire.net working!!!!! :P Only slight drawback is that you have to tell your members not the post the URL with the .htm otherwise LDM will treat it as an invalid filetype, or as a regular link, and not play inline. I'm sure Andrew can make it work properly though... :)
|
Quote:
Which others are the priorities? |
CurrentTV (http://www.current.tv/studio/)
Vimeo (http://www.vimeo.com/) Sharkle (http://www.sharkle.com/video/) FreeVideoBlog (http://video.freevideoblog.com/) MyVideoDe (http://www.myvideo.de/) Yahoo video (http://video.yahoo.com ) |
StreetFire.Net
https://vborg.vbsupport.ru/showthread.php?t=135464 I would love to get www.ThatVideoSite.com the problem is that you'd have to parse the page in order to extract the .WMV name, then port it into LDM. I personally am not up to it. |
Oh, MySpace.
|
Quote:
- DailyMotion (url's of the form http://www.dailymotion.com/swf/XXXXX ) - Google video (url's of the form http://video.google.com/videoplay?docid=NNNNN ) - IFilm (url's of the form http://www.ifilm.com/video/NNNNN ) - MetaCafe (url's of the form http://www.metacafe.com/watch/NNNNN ) - MySpace (url's of the form http://vids.myspace.com/index.cfm?fu...videoid=NNNNNN ) - StreetFire (url's of the form http://videos.streetfire.net/video/X...XXXXXXXXXX.htm ) - Videac (url's of the form http://www.vidiac.com/.../XXXXXXXX-X...XXXXXXXXXX.htm ) - VSocial (url's of the form http://www.vsocial.com/video/?d=NNNNN ) - YouTube (url's of the form http://www.youtube.com/watch?v=NNNNN ) That's enough for now... Some of the others require a double processing of the webpage to pull out the details. It's doable, but it wait. |
You're a King among men sir. A KING among men.
|
So do we wait for version LDM 2.2.7 or do we apply this hack for youtube? Thanks, rg.
|
Quote:
|
All times are GMT. The time now is 07:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|