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 |
#62
|
||||
|
||||
@Coders Shack
What's the deal? I cannot get a drop down box to insert the url when I click on the cam icon. It's there and highlights when you mouse over, but it does nothing when you click it. You got any pointers for me to look into? It would greatly be appreciated. Running 3.6.7PL1 here. |
#63
|
||||
|
||||
is this hack working properly without any prb on 3.6.4?
and easy to install without any patch or edition in ur addon/ as i'm not much familiar with programming |
#64
|
|||
|
|||
does this work for hosting mp3 files? we use a different version hacked up to work with youtube which gets most of our videos but it doesnt work with mp3's. and we put our podcasts inline and would like to be able to play them.
|
#65
|
||||
|
||||
Okay I got my problem corrected from post #61, but I have another problem maybe some one can help with. When playing youtube vids I get no audio from post or testing in bbcode control. I have tried google vids and they work okay. I mostly use youtube and the reason I installed hack.
|
#66
|
||||
|
||||
Alibass, are you having problems yesterday and today (thursday and friday?) Youtube has been having problems for the past 2 days. Yesterday some of my embedded videos would not load, nor would youtube load. And today (friday) youtube is running slow, plus comments on my videos are out of order, replies to comments are showing up under the wrong person.
So the audio might be be having problems from youtube. |
#67
|
||||
|
||||
nice work... thanks.
|
#68
|
|||
|
|||
I add the code to the js file and upload the xml and install it but when I go to BB Manager, nothing there!
EDIT:: NVM. Working |
#69
|
|||
|
|||
Hmm. I edited the .js file, uploaded, uploaded the .xml, saved the BBCodes, and tried a post. The camera image for inserting video URLs is present and opens a place to insert URL. Copied Youtube code and end up with the following in the post. There is no video.
Code:
[youtube]MxmTaCnuMPA[/youtube] See problem post Updated this post because of my poor wording. |
#70
|
||||
|
||||
Quote:
My problem with youtube is I cant hear the audio. Vid is fine. I did what youtube troubleshooting suggested for audio, but did not work for me. |
#71
|
|||
|
|||
Quote:
Update: FWIW, I also attempted a google video and the same problem exists. Only the code shows, not the video. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|