PDA

View Full Version : BB Code Enhancements - RU All Media BB Code


intp
07-21-2009, 10:00 PM
Demo
RetroUprising.com (http://retrouprising.com/forum.php)
Please don't spam, just use preview post to see how it works. If you don't have any interest in joining use the BugMeNot (http://www.bugmenot.com/view/retrouprising.com) account.

Supported sites

Blip.TV
Daily Motion
FaceBook Videos *
Flickr
Google Videos
Guba
Harpers Bazaar
Liveleak
MegaPorn **
MegaVideo
MetaCafe
MySpace Videos
Nothing Toxic
Own3d
PhotoBucket Videos
Redtube **
Ryoni
Street Fire
Style
Tangle
The Fashion Spot
Telegraph TV
Veoh
Video Fashion Daily
Viddler
Videojug
Vimeo
Yahoo Videos
YouTube Videos
Youtube Playlists
Wipido
Xtranormal
Zshare Videos


* Facebook doesn't work for every video.
** Adult sites like Mega Porn and Red Tube are disabled by default. To enable edit the Product XML file in notepad. Change "$adult = false;" to "$adult = true;".

Install instructions:

Import the attached product.
Put media link inside an tag like this
[m]http://www.youtube.com/watch?p=224C757AA9F9F0D7


Optional Instructions to add media button to the editor toolbar:

Upload this image https://vborg.vbsupport.ru/external/2009/10/3.png to your style image folder. The default is /forum_root/images/editor/
Edit the "editor_toolbar_on" template.
Find <if condition="$show['url_bbcode']">
Before add <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_m"><img src="$stylevar[imgdir_editor]/media.png" width="22" height="22" alt="Insert" /></div></td>

If anyone knows how to automatically add the button to the toolbar in the Product XML please let me know.


Upgrade Instructions:

Import the product and set "Allow Overwrite" to Yes.


This is my first mod posted at VB.org. I hope someone finds it helpful. Please click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=219139) and Nominate for MOTM (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=219139&type=1).

History
0.11 October 29, 2009
Fixed Nothing Toxic.
Added support for:

Street Fire

0.10 October 04, 2009
Cleaned code. Fixed several bugs. Added an adult filter so porn sites are disabled by default. Edit the XML file before installing to enable. I recommend upgrading.
Added support for:

Harpers Bazaar
MegaPorn
RedTube
Style
The Fashion Spot
Telegraph TV
Video Fashion Daily
LiveLeaks
Nothing Toxic
Ryoni
Flickr Videos
VideoJug
Tangle
Xtranormal

0.6 September 17, 2009
Added additional Google Video URL support.
Reduced width and height to fit more styles.
Made links case insensitive.
Updated install instructions.
Added support for:

MetaCafe
MySpace
PhotoBucket
Wipido
Own3d

0.5 September 13, 2009
Fixed preview/edit vanishing bug.
Added support for:

Yahoo
Daily Motion
Veoh
Viddler
Zshare
FaceBook
Guba
MegaVideo
Vimeo
Blip.TV

0.1, July 22, 2009
First release
Supports:

YouTube Videos
YouTube Playlists
Google Videos


More will be added as they are requested. When making requests include links to example video pages and embedding code if available.

dvsDave
07-22-2009, 02:18 PM
Vimeo.com, blip.tv, and facebook.com videos are the three others that I would most like to see!

intp
07-23-2009, 06:11 AM
Added support for MegaVideo, Vimeo and Blip.TV.

FaceBook will take too much time/effort to add. Sorry.

intp
07-24-2009, 06:09 PM
Add support for FaceBook.com and Guba.com today.

dvsDave
07-24-2009, 06:20 PM
thanks for changing your mind on that! Much appreciated!

Skiller
07-24-2009, 06:32 PM
Works perfect nice mod thanks.

pujabrang
07-28-2009, 10:02 PM
can u please add zshare videos aswell

intp
07-31-2009, 06:39 PM
can u please add zshare videos aswell
I don't think so but post an example link that you want and I will see if it can be easily added.

rigodiaz
08-08-2009, 12:57 AM
Thank you.

nomoreturn
09-07-2009, 04:12 AM
I don't think so but post an example link that you want and I will see if it can be easily added.

Hello i'm also looking for zshare video here is the link for zshare video
http://www.zshare.net/video/62249438807e18c6/

and here is the embed code for the same video please includ zshare in this bbcode
<iframe src="http://www.zshare.net/videoplayer/player.php?SID=dl075&FID=62249438&FN=_VidGrounds.Tv_%20Mini%20Punjab%20_2009_%20DVDR ip%20XviD%201CD%20MP3%20002.WMV.flv&iframewidth=648&iframeheight=415&width=640&height=370&H=62249438807e18c6" height="415" width="648" border=0 frameborder=0 scrolling=no></iframe>

intp
09-08-2009, 04:53 PM
Added Zshare video support.

pujabrang
09-10-2009, 03:54 PM
hi i really like this mod it would be fantastic mr intp if you add yahoo,msn and mediashare aswell i really appericiate
please add them aswell

intp
09-11-2009, 01:25 PM
Thanks. When making requests please do so like nomoreturn@hotm did. Not having to hunt down the links myself makes adding them much easier.

pujabrang
09-12-2009, 12:33 PM
Thanks. When making requests please do so like nomoreturn@hotm did. Not having to hunt down the links myself makes adding them much easier.

here is for yahoo direct link is
http://video.yahoo.com/watch/5910515/15386030
embedding code is
<div><object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=15386030&vid=5910515&lang=en-us&intl=us&thumbUrl=http%3A//l.yimg.com/a/i/us/sch/cn/v/v16/w948/5910515_640_480.jpeg&embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=15386030&vid=5910515&lang=en-us&intl=us&thumbUrl=http%3A//l.yimg.com/a/i/us/sch/cn/v/v16/w948/5910515_640_480.jpeg&embed=1" ></embed></object><br /><a href="http://video.yahoo.com/watch/5910515/15386030">Robot Gas Pump</a> @ <a href="http://video.yahoo.com" >Yahoo! Video</a></div>


daily motion
direct link
http://www.dailymotion.com/video/xa9cn6_sebastian-hamer-steig-mit-ins-boot_music
<div><object width="420" height="339"><param name="movie" value="http://www.dailymotion.com/swf/xa9cn6_sebastian-hamer-steig-mit-ins-boot_music" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://www.dailymotion.com/swf/xa9cn6_sebastian-hamer-steig-mit-ins-boot_music" type="application/x-shockwave-flash" width="420" height="339" allowFullScreen="true" allowScriptAccess="always"></embed></object><br /><b><a href="http://www.dailymotion.com/swf/xa9cn6_sebastian-hamer-steig-mit-ins-boot_music">Sebastian H?mer - Steig mit ins Boot</a></b><br /><i>by <a href="http://www.dailymotion.com/Revolver_Promotion">Revolver_Promotion</a></i></div>

veoh
direct link
http://www.veoh.com/browse/videos/category/educational_and_howto/watch/v18969268r78zTcWj
<object width="410" height="341" id="veohFlashPlayer" name="veohFlashPlayer"><param name="movie" value="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.4.2.24.1005&permalinkId=v18969268r78zTcWj&player=videodetailsembedded&videoAutoPlay=0&id=anonymous"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.4.2.24.1005&permalinkId=v18969268r78zTcWj&player=videodetailsembedded&videoAutoPlay=0&id=anonymous" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="410" height="341" id="veohFlashPlayerEmbed" name="veohFlashPlayerEmbed"></embed></object><br /><font size="1">Watch <a href="http://www.veoh.com/browse/videos/category/educational_and_howto/watch/v18969268r78zTcWj">Dog on a swing, leaping horses, bidding on the Price is Right and more! - The Digg Reel</a> in <a href="http://www.veoh.com/browse/videos/category/educational_and_howto">Educational &amp; How-To</a>&nbsp;&nbsp;|&nbsp;&nbsp;View More <a href="http://www.veoh.com">Free Videos Online at Veoh.com</a></font>

viddler
directlink
http://www.viddler.com/explore/fordmustang/videos/16/
embedding code
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="288" id="viddler"><param name="movie" value="http://www.viddler.com/player/c3d6b2ab/" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/player/c3d6b2ab/" width="437" height="288" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" name="viddler" ></embed></object>

Boneedd
09-13-2009, 12:28 AM
thanks Installed but when i try to edit a thread with youtube video there's nothing in the edit box

intp
09-13-2009, 09:47 PM
@pujabrang, added.

Veoh doesn't allow embedding of all of their videos. Some of them show up with just audio, not video.


thanks Installed but when i try to edit a thread with youtube video there's nothing in the edit box
fixed.

Boneedd
09-13-2009, 10:00 PM
@pujabrang, added.

Veoh doesn't allow embedding of all of their videos. Some of them show up with just audio, not video.




fixed.

Thanks for speedy responce i will update when im on pc and not phone

dwkmi
09-14-2009, 02:37 AM
How can I get a Button in the edit box to add the m tag? Like when adding any other custom BB code. If that can be done, this is my MOTM

intp
09-14-2009, 06:50 PM
How can I get a Button in the edit box to add the m tag? Like when adding any other custom BB code. If that can be done, this is my MOTM
Thanks. I added button instructions to the first post.

BENBOBBY
09-14-2009, 08:03 PM
Looks great intp! Thanks.

Heres a few more popular video sharing site that are missing


MetaCafe:

Example movie:
http://www.metacafe.com/watch/sy-38436760001/calvin_harris_the_girls_official_music_video/


And sample embed code:
<div style="background:#000000;width:498px;height:423px"><embed flashVars="playerVars=showStats=yes|autoPlay=no|videoTitle=Ca lvin Harris - The Girls (Official Music Video)" src="http://www.metacafe.com/fplayer/sy-38436760001/calvin_harris_the_girls_official_music_video.swf" width="498" height="423" wmode="transparent" allowFullScreen="true" allowScriptAccess="always" name="Metacafe_sy-38436760001" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed><div style="font-size:12px;"><a href="http://www.metacafe.com/watch/sy-38436760001/calvin_harris_the_girls_official_music_video/">Calvin Harris - The Girls (Official Music Video)</a> - <a href="http://www.metacafe.com/">Click here for the most popular videos</a></div></div>


MySpace Video:

Example movie:
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=62991592


Sample Embed Code:
<a href="http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=62991592">Talking Animals</a><br/><object width="425px" height="360px" ><param name="allowFullScreen" value="true"/><param name="wmode" value="transparent"/><param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=62991592,t=1,mt=video"/><embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m=62991592,t=1,mt=video" width="425" height="360" allowFullScreen="true" type="application/x-shockwave-flash" wmode="transparent"></embed></object>


PhotoBucket Video:

Example Movie:
http://s298.photobucket.com/albums/mm260/Astrokirk1/?action=view&current=beyonce.flv

Sample Embed Code:
<a href="http://media.photobucket.com/video/beyonce/Astrokirk1/beyonce.flv?o=2" target="_blank"><embed width="448" height="361" type="application/x-shockwave-flash" wmode="transparent" src="http://i298.photobucket.com/player.swf?file=http://vid298.photobucket.com/albums/mm260/Astrokirk1/beyonce.flv&amp;sr=1"></a>








For gaming videos you might also want to include the following:

Wipido:

Example Movie:
http://www.wipido.com/video/TRPWKMemaPh2


Sample Embed Code:
<iframe src="http://www.wipido.com/main/video/external/TRPWKMemaPh2" style="border:none; width:480px;height:320px;overflow:hidden;" scrolling="no" border="0" frameborder="0"></iframe>


Own3d:

Example Movie:
http://www.own3d.tv/watch/15083


Sample Embed Code:
<a href='http://www.own3d.tv/watch/15083'>Sweet Dreams - BENBOBBY - WATCH IN HD</a><br><object width='636' height='380'><param name='movie' value='http://www.own3d.tv/stream/15083' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.own3d.tv/stream/15083' type='application/x-shockwave-flash' allowfullscreen='true' width='636' height='380' wmode='transparent'></embed></object><br><a href='http://www.own3d.at/images/2_mini.php'>Check out the Video Contest Movies on own3D.tv!</a>

Hope that helps!
Thanks.

dwkmi
09-14-2009, 09:22 PM
Thanks. I added button instructions to the first post.

You ROCK!!! MOTM all the way baby!

pujabrang
09-14-2009, 09:46 PM
Thanks. When making requests please do so like nomoreturn@hotm did. Not having to hunt down the links myself makes adding them much easier.

thanks a lot i was hoping such a great and quick response from you
cheers

pujabrang
09-14-2009, 10:45 PM
every thing is fine with this mod but viddler videos not being embedded by it ...........please fix it
regards

intp
09-15-2009, 09:35 PM
@BENBOBBY, added. own3d was offline when I was testing. When they come back it should work but I haven't been able to test yet.

@pujabrang. Viddler is working for me. Please post a link that isn't working.

pujabrang
09-16-2009, 12:35 AM
@BENBOBBY, added. own3d was offline when I was testing. When they come back it should work but I haven't been able to test yet.

@pujabrang. Viddler is working for me. Please post a link that isn't working.

thanks for latest updates
mate this link isnt working for viddler
http://www.viddler.com/explore/BigAppleChannel/videos/54/

pujabrang
09-16-2009, 12:40 AM
viddler
directlink
http://www.viddler.com/explore/fordmustang/videos/16/
embedding code
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="288" id="viddler"><param name="movie" value="http://www.viddler.com/player/c3d6b2ab/" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/player/c3d6b2ab/" width="437" height="288" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" name="viddler" ></embed></object>

this was the link when i requested you to add viddler video in your mod

intp
09-16-2009, 04:55 AM
@pujabrang. Viddler, zshare and some photobucket videos require fopen to be enabled in PHP. By default it is.

If zshare is also not working for your board but everything else is then that is probably the problem. In your php.ini file set allow_url_fopen = 1.

http://us.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen

pujabrang
09-16-2009, 08:36 PM
@intp.zshare is working well.....but problem is with only viddler... i will check with your guide lines
cheers

nomoreturn
09-16-2009, 11:05 PM
i have problem with image its not shwing up in editor i upload it in images/editor and also change the "editor_toolbar_on" but its not showing up and yes one more thing google video not works for me here is the link i'm trying with
http://video.google.com/googleplayer.swf?docId=8718128283122756839&hl=en&autoplay
need help to fix installed new version 15 sep one

steveman0018
09-17-2009, 12:35 AM
where can i got to edit the sizes of the videos.. the youtube one is too big for my site

pujabrang
09-17-2009, 04:37 PM
where can i got to edit the sizes of the videos.. the youtube one is too big for my site

yes you are right size is too big........should be height="415" width="648"

intp
09-17-2009, 08:51 PM
@intp.zshare is working well.....but problem is with only viddler... i will check with your guide lines
cheers
I don't know. If zshare works then viddler should too. If you give me a link to your site I will take a look. If you want you can PM me an admin username/pass and ftp pass and I will try to fix it. Otherwise, unless it is happening to someone else I don't think I can fix it.

i have problem with image its not shwing up in editor i upload it in images/editor and also change the "editor_toolbar_on" but its not showing up
Did you follow all of my "optional instructions"? You need to upload the image and edit the template.

The image has to go in your styles directory. Your style might have changed it. You can find the location from admincp->styles & templates->Style Manager->Your Style->All Style Option->Button Images Folder

Also some mods, like this one https://vborg.vbsupport.ru/showthread.php?t=216688 , can change the template you need to edit.

google video not works for me here is the link i'm trying with
http://video.google.com/googleplayer.swf?docId=8718128283122756839&hl=en&autoplay
Fixed in version 0.6.1

where can i got to edit the sizes of the videos.. the youtube one is too big for my site
Download the product, open it in notepad and search for "//You can edit the dimensions here" around line 30. Change the width and height there and then import it.

yes you are right size is too big........should be height="415" width="648"
I changed version 0.6.1 to this.

Boneedd
09-17-2009, 11:56 PM
if anyone wants to force HD (youtube only) like myself change

return '<object width="'.$width.'" height="'.$height.'"><param name="movie" value="http://www.youtube.com/v/'.$id.'&ap=%2526fmt=22&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/'.$id.'&ap=%2526fmt=22&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'.$width.'" height="'.$height.'"></embed></object>';


TO

return '<object width="'.$width.'" height="'.$height.'"><param name="movie" value="http://www.youtube.com/v/'.$id.'&ap=%2526fmt=22&hl=en&fs=1&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/'.$id.'&ap=%2526fmt=22&hl=en&fs=1&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'.$width.'" height="'.$height.'"></embed></object>';

randy17875
09-18-2009, 02:09 PM
Good job on the player. kudo's!

Would it be possible to add tangle?

http://www.tangle.com/view_video?viewkey=45dcd3f3f6282c43418c

dwkmi
09-19-2009, 09:08 PM
How about adding Xtranormal.com


<object width="480" height="390"><param name="movie" value="http://www.xtranormal.com/players/jwplayer.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="flashvars"value="height=390&width=480&file=http://newvideos.xtranormal.com/standard/ce55e16c-5210-11de-ab0c-003048d6740d_2_standard_medium-flv.flv&image=http://newvideos.xtranormal.com/standard/ce55e16c-5210-11de-ab0c-003048d6740d_2_standard_poster.jpg&link=http://www.xtranormal.com/watch?e=20090605164332686&searchbar=false&autostart=false"/><embed src="http://www.xtranormal.com/players/jwplayer.swf" width="480" height="390" allowscriptaccess="always" allowfullscreen="true" flashvars="height=390&width=480&file=http://newvideos.xtranormal.com/standard/ce55e16c-5210-11de-ab0c-003048d6740d_2_standard_medium-flv.flv&image=http://newvideos.xtranormal.com/standard/ce55e16c-5210-11de-ab0c-003048d6740d_2_standard_poster.jpg&link=http://www.xtranormal.com/watch?e=20090605164332686&searchbar=false&autostart=false"></embed></object><object width="480" height="390"><param name="movie" value="http://www.xtranormal.com/players/embedded-xnl-stats.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.xtranormal.com/players/embedded-xnl-stats.swf" width="1" height="1" allowscriptaccess="always"></embed></object>

intp
09-20-2009, 09:03 PM
@Boneedd Thanks. Added to version 0.7.

Tangle and Xtranormal support added.

BENBOBBY
09-26-2009, 01:00 PM
Thanks for the updates intp :)

Heres a couple more video hosters you might like to add:


VideoJug:

Example Movie:
http://www.videojug.com/film/surfing-how-to-read-waves


Sample Embed Code:
<object width="400" height="336" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="videojugplayer"><param name="movie" value="http://www.videojug.com/player?id=4cd41d0d-6f7e-dc1b-c455-ff0008c940b8"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.videojug.com/player?id=4cd41d0d-6f7e-dc1b-c455-ff0008c940b8" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" allowScriptAccess="always"></embed></object><br /><a href="http://www.videojug.com/tag/surfing">Surfing</a>: <br /><a href="http://www.videojug.com/film/surfing-how-to-read-waves">Surfing: How To Read Waves</a>





Flickr:

Example Movie:
http://www.flickr.com/photos/efranke/2505980161


Sample Embed Code:
Unfortunately Im not sure how you embed flickr videos, but hopefully you might be able to find a way.

intp
09-27-2009, 07:03 AM
Flickr and VideoJug added. v0.8

BENBOBBY
09-29-2009, 02:33 PM
Many thanks intp! Found some more popular video hosts if you want to keep busy!


Liveleak:

Example Movie:
http://www.liveleak.com/view?i=9a5_1254000831


Sample Embed Code:
<object width="450" height="370"><param name="movie" value="http://www.liveleak.com/e/9a5_1254000831"></param><param name="wmode" value="transparent"></param><embed src="http://www.liveleak.com/e/9a5_1254000831" type="application/x-shockwave-flash" wmode="transparent" width="450" height="370"></embed></object>





Ryoni:

Example Movie:
http://www.ryoni.com/2008/06/07/kids-with-a-ferrari-enzo-etc/


Sample Embed Code:
Not Sure





Telegraph TV:

Example Movie:
http://www.telegraph.co.uk/lifestyle/lifestylevideo/?bcpid=8558029001&bclid=1363192395&bctid=28710716001


Sample Embed Code:
<object id="flashObj" width="486" height="412" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0"><param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9/25338054001?isVid=1&publisherID=1137977488" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="videoId=28710716001&playerID=25338054001&domain=embed&" /><param name="base" value="http://admin.brightcove.com" /><param name="seamlesstabbing" value="false" /><param name="allowFullScreen" value="true" /><param name="swLiveConnect" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://c.brightcove.com/services/viewer/federated_f9/25338054001?isVid=1&publisherID=1137977488" bgcolor="#FFFFFF" flashVars="videoId=28710716001&playerID=25338054001&domain=embed&" base="http://admin.brightcove.com" name="flashObj" width="486" height="412" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" swLiveConnect="true" allowScriptAccess="always" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>


Cheers. :D

kervasquez
09-30-2009, 01:08 AM
omg im a complete nuub how exactly do i install this!

im sorry if this comment is sloppy.
im very new to the whole html, embed, and vbulletin movement =)
i do have a website, www.tristateautoclub.com
but im literally building it from scratch and with help from tons of different sources.

and can you add nothingtoxic.com ??

http://www.nothingtoxic.com/media/1254185101/Turkish_Man_Kills_Himself_During_Stand_Off

<table cellpadding="4" cellspacing="0" width="210px" style="border:1px solid #C0C0C0"><tr><td style="padding:3px;border-bottom:1px solid #C0C0C0" bgcolor="#ececec" align="center"><a href="http://www.nothingtoxic.com/" title="Humor videos"><img src="http://media5.break.com/nt/i/share_logo.png" border="0"></td></tr><tr><td><font style="font:normal 10px Verdana"><b>Turkish Man Kills Himself During Stand Off</b></font></td></tr><tr><td align="center"><a href="http://www.nothingtoxic.com/media/1254185101/Turkish_Man_Kills_Himself_During_Stand_Off"><img border=0 src="http://media5.break.com/nt/thumb/f8/4f/f84f02546ce820d55aad4257bdd4b523.jpg"></a></td></tr><tr><td><font style="font:normal 9px Verdana">&quot;Shoot the hostage&quot; is not really ever a good game plan but it's especially bad when you are your own hostage.</font></td></tr></table>Get <a href="http://www.nothingtoxic.com/">humor videos</a> at <a href="http://www.nothingtoxic.com/">NothingToxic</a>

Boneedd
09-30-2009, 07:17 PM
omg im a complete nuub how exactly do i install this!

im sorry if this comment is sloppy.
im very new to the whole html, embed, and vbulletin movement =)
i do have a website, www.tristateautoclub.com
but im literally building it from scratch and with help from tons of different sources.

and can you add nothingtoxic.com ??

http://www.nothingtoxic.com/media/1254185101/Turkish_Man_Kills_Himself_During_Stand_Off

<table cellpadding="4" cellspacing="0" width="210px" style="border:1px solid #C0C0C0"><tr><td style="padding:3px;border-bottom:1px solid #C0C0C0" bgcolor="#ececec" align="center"><a href="http://www.nothingtoxic.com/" title="Humor videos"><img src="http://media5.break.com/nt/i/share_logo.png" border="0"></td></tr><tr><td><font style="font:normal 10px Verdana"><b>Turkish Man Kills Himself During Stand Off</b></font></td></tr><tr><td align="center"><a href="http://www.nothingtoxic.com/media/1254185101/Turkish_Man_Kills_Himself_During_Stand_Off"><img border=0 src="http://media5.break.com/nt/thumb/f8/4f/f84f02546ce820d55aad4257bdd4b523.jpg"></a></td></tr><tr><td><font style="font:normal 9px Verdana">&quot;Shoot the hostage&quot; is not really ever a good game plan but it's especially bad when you are your own hostage.</font></td></tr></table>Get <a href="http://www.nothingtoxic.com/">humor videos</a> at <a href="http://www.nothingtoxic.com/">NothingToxic</a>



Admin CP> Plug Ins And Products> Manage products

Scroll down and click Add/Import Product, Browse to the location of the product file if updating tick the yes radio button, and then just press import one you have done that the [m] bb code will work fine

thanks

kervasquez
09-30-2009, 09:01 PM
Admin CP> Plug Ins And Products> Manage products

Scroll down and click Add/Import Product, Browse to the location of the product file if updating tick the yes radio button, and then just press import one you have done that the [m] bb code will work fine

thanks

I really appreciate it,
that was so simple. yet i had no clue.
i really am greatfull. Thanks again =)

but now that i have done that, im yet again lost.
how do i embed the video?
did i miss a step after what you showed me?

hiker
09-30-2009, 10:46 PM
Hi, I'm a n00b, just installed my first VB forum last night.

I'm getting youtube & vimeo to embed in a test thread of mine, but I'm not able to embed a facebook video or Flickr slideshow.

I'm adding the tag, pasting the url (not the embed code) and closing it with the tag. Once posted it only displays the text from the link, such as:
http://www.facebook.com/video/video.php?v=1142401273245

This is one of my videos and I believe all of my settings are set to public viewing. Is it because it's a "HQ" video?

And with the Flickr.... is this supposed to embed the slideshow, or just the set?

Thanks, this is a great mod.

hiker
09-30-2009, 11:36 PM
OK, I guess it's not set to public, I'll fix that in time. I just tried a REAL public video, tried the same method.
(let's see if I can do this)

http://www.facebook.com/video/video.php?v=554091938379
This time it's showing a blank box, or an empty space where the video would show.

kervasquez
10-01-2009, 12:42 AM
ok i got it -)
i embeded a youtube video!

now im stuck on the optional install part,
could i get another crash course?!

intp
10-01-2009, 07:38 AM
I added support for LiveLeaks, Ryoni and NothingToxic.

Telgraph will take more effort than I want to give right now. <Skipped.

Facebook does not work for every video. Not sure what the difference is. I guess they have to be set to public or maybe logged in.

I'll try to make the "optional instructions" automated later but for now that is the best I can explain them. If someone else wants to take a crack at simplifying it, please do.

kervasquez
10-02-2009, 09:00 PM
anyone out there that can give me a more detailed explanation of the optional instructions

TheChaosFactor
10-04-2009, 08:16 AM
Are you willing to do naughty videos? If so, I'd like to see redtube and some others, but mainly redtube....

Link:
http://www.redtube.com/24144


Embed code:
<object height="344" width="434">
<param name="movie" value="http://embed.redtube.com/player/">
<param name="FlashVars" value="id=24144&style=redtube">
<embed
src="http://embed.redtube.com/player/?id=24144&style=redtube"
pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" height="344" width="434" />
</object>

If this is inapropriate, I apologize, but I'm getting requests for this from several of my members...

intp
10-04-2009, 08:52 AM
Added
1. Harpers Bazaar
2. MegaPorn
3. RedTube
4. Style
5. The Fashion Spot
6. Telegraph TV
7. Video Fashion Daily

Also cleaned up the code and fixed several minor things. If you are having problems with any of the links then you should upgrade to latest version. If you are still having problems then post bad links here.

If anyone knows how to add the optional install instructions directly into the product xml please let me know.

TheChaosFactor
10-04-2009, 01:53 PM
Added
1. Harpers Bazaar
2. MegaPorn
3. RedTube
4. Style
5. The Fashion Spot
6. Telegraph TV
7. Video Fashion Daily

Also cleaned up the code and fixed several minor things. If you are having problems with any of the links then you should upgrade to latest version. If you are still having problems then post bad links here.

If anyone knows how to add the optional install instructions directly into the product xml please let me know.

Thanks a milion man. You just made a few dozen pervs pretty happy. :up:

BENBOBBY
10-04-2009, 04:53 PM
Thanks a milion man. You just made a few dozen pervs pretty happy

lol.

Installed, rated and nominated. Amazing stuff Intp! :)

Ive been doing a bit of fault checking today. The following three hosts unfortuately dont appear to be working properly; Blip.TV, MySpace Videos and Ryoni. Either just giving a black video or playing the wrong clip. For example try embedding these:

http://blip.tv/file/2561775

http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=63629211

http://www.ryoni.com/2008/06/07/kids-with-a-ferrari-enzo-etc/



Ive tried various different videos and in different browsers. Is anyone else having troubles with these or am I just using the wrong URLs?

Many Thanks. :)

mpt
10-04-2009, 09:06 PM
GREAT! installed!!!

intp
10-05-2009, 03:24 AM
Thanks BENBOBBY. Fixed all three of them in version 0.10.1.

I added an adult filter. Sites like MegaPorn and RedTube will not work unless you edit the XML file before installing/upgrading. Open it in notepad and change $adult from false to true. You will have to do this every time you upgrade.

TheChaosFactor
10-05-2009, 05:22 AM
Thanks BENBOBBY. Fixed all three of them in version 0.10.1.

I added an adult filter. Sites like MegaPorn and RedTube will not work unless you edit the XML file before installing/upgrading. Open it in notepad and change $adult from false to true. You will have to do this every time you upgrade.
Understood. Will do. :D

BENBOBBY
10-05-2009, 06:13 PM
Thanks BENBOBBY. Fixed all three of them in version 0.10.1.

Thanks. :)

Boneedd
10-05-2009, 09:43 PM
shouldnt it be 1.01 not 0.10.1?

intp
10-05-2009, 10:52 PM
Boneedd, no. The numbers are Major.Moderate.Minor changes. When I add new sites I increase the second number. When I just fix bugs I increase the third number. When I think most sites have been added and all bug have been found and fixed I will change the first number from 0 to 1.

kervasquez
10-21-2009, 09:43 PM
nothingtoxic.com isnt working anymore

ricardoNJ
10-22-2009, 04:48 AM
I need a help with the icon 'media.png'. I can't see nothing in text editor!!!!

nomoreturn
10-22-2009, 11:59 AM
Hey whats up man i'm wondring if i can get bb code for http://easyembed.com/ i try to find embed code but cant find they are useing zshare embed code but without any comercial here is the zshare link http://www.zshare.net/video/67144256e472b113 and here is the embed code for zshare<iframe src="http://www.zshare.net/videoplayer/player.php?SID=dl024&FID=67144256&FN=_MovieGrounds.Tv_%20Blue.2009.1.CD.PDVD.Rip.Par t.1.wmv.flv&iframewidth=648&iframeheight=415&width=640&height=370&H=67144256e472b113" height="415" width="648" border=0 frameborder=0 scrolling=no></iframe>
but the difrence is zshare have iframe in it the comercial we have to click on close to play button and the http://easyembed.com have no comercial they played the same video with same zshare link without comercial so plz if you can make the bb code for http://easyembed.com its very helpfull for me and others who want to share zshare videos thanks

ricardoNJ
10-22-2009, 03:45 PM
I need a help with the icon 'media.png'. I can't see nothing in text editor!!!!
Anyone can help me, please???? I put it in default: /forum_root/images/editor/ and in my custom style: /forum_root/images/styles/StyleX/editor
but nothing happened!

ricardoNJ
10-22-2009, 04:24 PM
...and I want to delete the porn site. ;)

ricardoNJ
10-22-2009, 05:43 PM
Any Website Is Not Available In Latin America! :eek:

Kingdombuilder
10-23-2009, 06:01 AM
Installed and working perfectly so far. have not found any problems. Thank you. Great mod!!

Deib
10-23-2009, 03:30 PM
Can you add streefire?
http://videos.streetfire.net/video/My-1972-Pantera-with-427_46219.htm

Or tell me how to do it?

Thanks,
Great hack.

EDITED, it works using the embed link, just not the URL.
Thanks

fta2k
10-23-2009, 03:40 PM
Installed and working.

Now just have to figure out how to get links for some of the video hosts.

Deib
10-23-2009, 03:49 PM
Is there anyway how to add the button to the quick replay box?
I can't figure it out.

ricardoNJ
10-23-2009, 04:21 PM
Is there anyway how to add the button to the quick replay box?
I can't figure it out.
Have you this buttom in "Go Advanced" box?
Tell me how you did it ps?

Deib
10-23-2009, 05:07 PM
I do have the button in the go advance box.

To add custom button to quick reply box it is in the template imp_showthread_quickreply

To put it after the Wrap in HTML tags find

alt="$vbphrase[wrap_html_tags]" /></div></td>

Then add
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_m"><img src="$stylevar[imgdir_editor]/media.png" width="22" height="22" alt="Insert" /></div></td>

ricardoNJ
10-23-2009, 07:05 PM
What's the route or how do you do about "go advance box'??????

BENBOBBY
10-27-2009, 10:42 PM
Im wondering if it would be possible to make it so when you click the Media Button it opens a popup window to enter the URL of the video?

This would make it more user friendly as it is for inserting images:
https://vborg.vbsupport.ru/external/2009/10/9.jpg



The code for images is;
<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>


Can a similar "{$editorid}_cmd_insertvideo" command be created?

Many Thanks. :up:

ricardoNJ
10-28-2009, 05:09 AM
I can't to put this button in the 'editor'

1. Upload this image https://vborg.vbsupport.ru/external/2009/10/3.png to your style image folder. The default is /forum_root/images/editor/
2. Edit the "editor_toolbar_on" template.
3. Find
Code:

<if condition="$show['url_bbcode']">

4. Before add
Code:

<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_m"><img src="$stylevar[imgdir_editor]/media.png" width="22" height="22" alt="Insert" /></div></td>



Help!!!!:(

BENBOBBY
10-28-2009, 08:47 AM
I can't to put this button in the 'editor'

1. Upload this image https://vborg.vbsupport.ru/external/2009/10/3.png to your style image folder. The default is /forum_root/images/editor/
2. Edit the "editor_toolbar_on" template.
3. Find
Code:

<if condition="$show['url_bbcode']">

4. Before add
Code:

<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_m"><img src="$stylevar[imgdir_editor]/media.png" width="22" height="22" alt="Insert" /></div></td>



Help!!!!:(


Ricardo which specific part of the installation are you having problems with? The instructions given above are pretty thorough.

To edit the "editor_toolbar_on" template you need to log on to your admin control panel, then click Styles & Templates on the left, then Style Manager then look for editor_toolbar_on. Then click Customise or Edit and search for "<if condition="$show['url_bbcode']">" then insert the code given above. :up:

ricardoNJ
10-28-2009, 02:55 PM
Ricardo which specific part of the installation are you having problems with? The instructions given above are pretty thorough.

To edit the "editor_toolbar_on" template you need to log on to your admin control panel, then click Styles & Templates on the left, then Style Manager then look for editor_toolbar_on. Then click Customise or Edit and search for "<if condition="$show['url_bbcode']">" then insert the code given above. :up:
Yes, I did it and I put it bellow and above but nothing happen.

Hey, last night I'm testing the website above and with the site: "Own3d" there's a virus: a pop up that you can't close show you a porn animation!!! :mad:

intp
10-29-2009, 05:35 PM
Updated to version 0.11
nothingtoxic.com isnt working anymore
Fixed.
...and I want to delete the porn site. ;)
They are disabled by default. Unless you edit the xml file and change $adult to true then the adult sites will not work.

Can you add streefire?
http://videos.streetfire.net/video/My-1972-Pantera-with-427_46219.htm
Done.

Yes, I did it and I put it bellow and above but nothing happen.The instructions are as simple as I can put it. If you have followed all the instructions and it doesn't work then it is possible that another mod is interfering.

My only suggestion is to
go to your admincp > Plugins & Products > Plugin Manager
search for "editor_toolbar"
uncheck anything that has that anywhere in the title and click save changes
Test and see if the media bb code button appears
If it does then it means one of the things you unchecked was causing interference.
You can go back and recheck everything you unchecked to re-enable them.

Hey, last night I'm testing the website above and with the site: "Own3d" there's a virus: a pop up that you can't close show you a porn animation!!! :mad:
Everytime I have tried to go to Own3d their servers have been too busy. I have never been able to test it myself. I suggest just not using any links from them.

ricardoNJ
10-31-2009, 11:09 PM
...If you have followed all the instructions and it doesn't work then it is possible that another mod is interfering.

My only suggestion is to
go to your admincp > Plugins & Products > Plugin Manager
search for "editor_toolbar"
uncheck anything that has that anywhere in the title and click save changes
Test and see if the media bb code button appears
If it does then it means one of the things you unchecked was causing interference.
You can go back and recheck everything you unchecked to re-enable them...

Yes, the problem was for another mod installed...Thanks, the botton appears in the center of editor box. :D

ricardoNJ
11-05-2009, 07:37 AM
I have a big problem. When I put any video and I choose the tools menu, the video go in front of this menu.
http://img7.imageshack.us/img7/1644/toolproblem.jpg
and then, I can't move, close o delete nothing in this first post.

COL NIL SATIS
11-05-2009, 08:14 PM
how do we add this button guys?? its appearing behind the other buttons i have..can we have a simple bb code added so the button appears that way???

fta2k
11-11-2009, 01:41 AM
Would it be possible to get dilidoo video added?

Link to video example (warning: contains adult content)

http://dilidoo.com/img/img2/20091110/erotic/sexy.flv

Link to page:

http://dilidoo.com/2009/11/10/smoking_girl_showing_her_body_3_5_mb.html


Thanks

ProGenY
11-14-2009, 05:18 AM
Some videos on google play fine some of them dont show at all the player does not embed and some of them i get the player but wont play the video any sugestions?

intp
11-15-2009, 07:29 AM
@ricardoNJ. That is a problem with Flash. It always appears above everything else. I don't think their is a solution.

@ProGenY. Post the problem links.

I probably wont be making many more updates until VB4 is out.

mikro1234
12-15-2009, 02:37 PM
Hi!

First of all thanks for the work.

I have a problem with streetfire, y try to put the url, and not work, at the top appears this error

the url (this for example):

http://videos.streetfire.net/video/1989-HONDA_725062.htm

and the error

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in [path]/includes/class_bbcode.php(172) : eval()'d code on line 309

Warning: file_get_contents(http://videos.streetfire.net/video/1989-HONDA_725062.htm) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in [path]/includes/class_bbcode.php(172) : eval()'d code on line 309

what?s wrong?

thanks a lot!

Frank Sinatra
12-15-2009, 06:59 PM
Thanks works perfect

swanienufan
12-22-2009, 02:39 AM
It seems to be working great with the exception of xtranormal vids. It looks like the link might have changed recently, might want to take a look.

intp
12-26-2009, 06:34 AM
VB4 Note:
This plugin works in VB4 without any changes however I recommend using either the default VB4 video bbcode or https://vborg.vbsupport.ru/showthread.php?t=230707

I imagine someone will make the site definitions for AME3 soon. If not then I will copy mine over after I upgrade my site to VB4.

This mod is not needed in VB4 so this is probably the end.

KrisJacobs
01-15-2010, 11:47 PM
It seems to be working great with the exception of xtranormal vids. It looks like the link might have changed recently, might want to take a look.

I just found and installed this - xtranormal embed links are not working for me either. :(

I have vB 3.8.4

Thanks!

Edit:
here is a current example of xtranormal embed code, taken from this URL: http://www.xtranormal.com/watch/2140411/ :
<object width="480" height="390"><param name="movie" value="http://www.xtranormal.com/site_media/players/jwplayer.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="flashvars"value="height=390&width=480&file=http://newvideos.xtranormal.com/standard/656afdc2-68e0-11de-bb08-003048d6740d_6_standard_medium-flv.flv&image=http://newvideos.xtranormal.com/standard/656afdc2-68e0-11de-bb08-003048d6740d_6_standard_poster.jpg&link=http://www.xtranormal.com/watch/2140411&searchbar=false&autostart=false"/><embed src="http://www.xtranormal.com/site_media/players/jwplayer.swf" width="480" height="390" allowscriptaccess="always" allowfullscreen="true" flashvars="height=390&width=480&file=http://newvideos.xtranormal.com/standard/656afdc2-68e0-11de-bb08-003048d6740d_6_standard_medium-flv.flv&image=http://newvideos.xtranormal.com/standard/656afdc2-68e0-11de-bb08-003048d6740d_6_standard_poster.jpg&link=http://www.xtranormal.com/watch/2140411&searchbar=false&autostart=false"></embed></object><object width="480" height="390"><param name="movie" value="http://www.xtranormal.com/site_media/players/embedded-xnl-stats.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.xtranormal.com/site_media/players/embedded-xnl-stats.swf" width="1" height="1" allowscriptaccess="always"></embed></object>

ndut
01-17-2010, 01:46 PM
nice code

pujabrang
01-29-2010, 10:41 PM
i have some problem with zshare videos when i put link in bbcode some times it works but most of the time video dont appear........

trotskid
07-08-2010, 06:24 PM
It's possible to add youporn?

Thanks

VastaconINT
07-12-2010, 08:44 AM
Excellent Modification, would love if you could make it like the URL PopUp Box, other than that its great. Installed, working perfectly so far.

inqelaab.org
11-03-2010, 03:45 AM
Can I use this BBcode with VBulletin 4.0.8 and how?

Occosion
01-11-2011, 04:45 PM
thanks but PhotoBucket don't work

http://s64.photobucket.com/albums/h163/Evelynsmom/Sledding%202010/Ohcomeon.mp4

DAMINK
03-01-2011, 04:55 AM
It appears this is working in 4.0 ok.
The only problem i have is i cant get the link to actually work when i click on the image supplied.
The image is in both quick reply and normal reply.
But would love to get this to work properly. Its clearly the best way of embedding videos i know of. Very happy with it.

shakirulqadree
09-15-2012, 04:09 PM
good +++ Installed

Toorak Times
10-21-2012, 04:07 AM
Hi Guys,

Does this work with 4.2? Is it possible to cover vBTube too?

Great work, thanks

m7sen
12-23-2014, 07:49 PM
any upgrade

is this still work

intp
12-24-2014, 01:58 PM
No upgrades. Works in VB4 too. Most of the sites should still work but some of them might need to be updated. If anyone wants to update it they can.