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 |
#32
|
|||
|
|||
|
#33
|
|||
|
|||
no matter what i do i cant get the video camera icon. I have the same problem as 69lakalle. I tried everything, i put it in the proper folder. i viewed the image location and the page doesnt show up yet i know its there. I deleted the createvideo.gif ending to see if the folder was correct and it was. PLZ HELP ME.
|
#34
|
|||
|
|||
Quote:
|
#35
|
|||
|
|||
@Coders Shack
Do you mind posting the replacement code for ebaumsworld? I simply cannot make it to work using the code posted earlier. I think it's because of the encoded URLs. Installing the product file misses the youtube and ebaumsworld, so they need to be entered manually as of now. |
#36
|
|||
|
|||
For Ebaums you have to take the URL from within the embed code, and not the actual URL from the page. That's the only way I have been able to get it to work, kind of a roundabout way of doing it, but it's the only way I could see.
|
#37
|
||||
|
||||
Thanks, i love it, installed! :up:
|
#38
|
|||
|
|||
Nope, that didn't work either.
|
#39
|
|||
|
|||
Ok... I installed and followed the code {add} as suggested... I uploaded that .js and I now see the icon, but when I click it... nothing happens. Not sure what I am doing wrong... I also resaved all 5 of the BB codes too... Not sure what I missed...
|
#40
|
|||
|
|||
I'm in the same boat. Uploaded the .js, uploaded the icon, imported the XML.
I see the icon in a post, but when I click... nothing happens. When I hover over the icon, I do get the "Insert Video" flyover. Any ideas? Nothing pops up at all... Added: If I add an optional image in the BBCode Manager, it'll work... but I have 5 extra icons on there now. Any ideas on why the original one is still inactive? |
#41
|
|||
|
|||
* Marked as uninstalled until ebaums get fixed *
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|