The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
inlineVideo - Youtube / Myspace / Google / Ebaums Details »» | |||||||||||||||||||||||||||
inlineVideo - Youtube / Myspace / Google / Ebaums
Developer Last Online: Sep 2013
[hr]value[/hr]
I WOULD LIKE A MOD TO CLOSE THIS AND MOVE IT TO THE GRAVEYARD it has been made obsolete by my other mod [here] [/CENTER] Installation Time: <2 mins Products: 1 File Edit: 1 VB Version: 3.6.7
[hr]value[/hr] youtube-myspace-videos-posts/ Description: [hr]value[/hr] ok this mod is a little different than the other ones it adds a button to the tool bar and when you click it you just enter the URL of the video if its myspace then it creates the myspace video BB code if its youtube then it creates the youtube BB code. There is no need to enter the end of the video link you can just enter the whole URL in. Installation: [hr]value[/hr] Open clientscript/vbulletin_textedit.js and Find: Code:
// ============================================================================= // vB_Text_Editor methods /** * Editor initialization wrapper */ HTML Code:
/** * Insert Video Link */ this.createvideolink = function(e, url) { var my_colors=prompt("MySpace, YouTube, Google video, or eBaum's World video URL",""); if ((my_colors=="") || (my_colors==null)) { alert("Please Enter The Full URL!"); } else { if (my_colors.match("youtube.com")) { var col_array=my_colors.split("?v="); var part_num=1; return this.insert_text("[youtube]" + col_array[part_num] + "[/youtube]"); } else if (my_colors.match("myspace.com")) { if (my_colors.match("videoID=")) { var col_array=my_colors.split("videoID="); } else { var col_array=my_colors.split("videoid="); } var part_num=1; return this.insert_text("[myspace]" + col_array[part_num] + "[/myspace]"); } else if (my_colors.match("video.google.")) { var col_array=my_colors.split("docid="); var part_num=1; return this.insert_text("[googlevideo]" + col_array[part_num] + "[/googlevideo]"); } else if (my_colors.match("ebaumsworld.com")) { var my_colors = my_colors.replace(".html",""); var col_array = my_colors.split("ebaumsworld.com/"); return this.insert_text("[ebaumsvideo]" + col_array[1] + "[/ebaumsvideo]"); } else if (my_colors.match("metacafe.com")) { var my_colors = my_colors.replace(new RegExp(/\/$/),""); var col_array = my_colors.split(new RegExp(/\/watch\//g)); return this.insert_text("[metacafe]" + col_array[1] + "[/metacafe]"); } else { alert("Please Enter The Full URL!"); } } }; [hr]value[/hr] If you like then [Mark As Installed] [hr]value[/hr]Show Your Support
|
Comments |
#2
|
|||
|
|||
Reserved for updates.
also this is my cousins hack "Mr Chad" and he has given me permission to re-release it. I have made changes and made it work a little smoother. |
#3
|
|||
|
|||
The installer only made the Ebaums World and YouTube entries in my Custom BB Codes, not the others.
But, other than that, this is great. Really makes it easy for the users. Thanks... |
#4
|
|||
|
|||
Quote:
(not now tho because I'm gonna go to sleep) |
#5
|
||||
|
||||
Is there a possibility to add myvideo.de ? In Fact the greatest non english Videocommunity.
And it was absolutely amazing if you add Real, WMV and Quicktime Support. Cant editor_toolbar_on and postbit_quickedit and showthread_quickreply Templateedits done with Hooks? Nominated for MOTM - but not installed for the moment! |
#6
|
|||
|
|||
One small thing... minor spelling mistake in your code.
'of' I'm sure you meant it to be 'or'. Code:
var my_colors=prompt("MySpace, YouTube, Google video, eBaum's World of Metacafe URL",""); I uploaded the manual BB Codes in the attached text file. So, if the product xml doesn't add them to the database you can add them yourself. Also; I would like to add Break, LiveLeak, and DailyMotion to the list of video's this hack can embed. Do I have permission to share with others how I did it in this thread when I do? Again, thanks for this. |
#7
|
||||
|
||||
Finally one-4-all
It would be great that it was SEO'ed (added the video title in the litte video window title) |
#8
|
||||
|
||||
Thanks for the release!
|
#9
|
|||
|
|||
thanks
|
#10
|
|||
|
|||
It would be nice if somebody can add a function fullscreen, none of the mod has this function yet. Would it be you???
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|