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 |
#42
|
|||
|
|||
does not work for me
Version 3.6.7 |
#43
|
|||
|
|||
Too bad too... was looking forward to this one.
Not working in VB3.6.7PL |
#44
|
||||
|
||||
C'mon CoderShack I know you can set the course straight, it can be useless today... but later in life you won't regret it... lol
|
#45
|
|||
|
|||
Oh, hopefully i can make this one work, thanks.
|
#46
|
||||
|
||||
Quote:
P.S. it works great in 3.6.7 |
#47
|
||||
|
||||
this is the code for ebaums
<embed src="http://ebaumsworld.com/ml_player2.swf" FlashVars="sharelink=http%3A%2F%2Ftaf.ebaumsworld. com%2Fform.php%3Frid%3D195%26ref%3D/{param}&stream=http%3A%2F%2Fwww.ebaumsworld.com/{param}.flv" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="480" height="400" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> notice {param}... this should really be the ebaums code that you will need to play the video.. so the find a video you want to play.. and replace the {param} your video will play.. and when you add the code in an actual thread..., it should work... example... <embed src="http://ebaumsworld.com/ml_player2.swf" FlashVars="sharelink=http%3A%2F%2Ftaf.ebaumsworld. com%2Fform.php%3Frid%3D195%26ref%3D//watch/22495&stream=http%3A%2F%2Fwww.ebaumsworld.com/2007/05/star-wars-sexual.flv" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="480" height="400" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> (this may not be what the coder intended.., but it works for ME!!!) i simply added the url :::: http://emuse.ebaumsworld.com/video/watch/22231 and the appropiate video came up and played... |
#48
|
||||
|
||||
THANK YOU!! Very nice mod.
|
#49
|
||||
|
||||
any advantage to upgrading?
|
#50
|
|||
|
|||
|
#51
|
|||
|
|||
can you include imeem player to this hack, i tried but cant do it.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|