vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - Easy BB Code (14) Videos embed (https://vborg.vbsupport.ru/showthread.php?t=222839)

kama_tech 09-09-2009 10:00 PM

Easy BB Code (14) Videos embed
 
1 Attachment(s)
Hello.
Description
Here I leave a few simple lines so they can add videos of some of the providers of videos on the Internet.

YouTube
Red Tube
Meta Cafe
Dailymotion
Game Trailer
Ustream
Stupidvideos
Justin Tv
MySpace
Blip Tv
Guba
Veoh
Vimeo
Google Video

****Only shows 4 embed in this post but the zip contains additional embed their instructions and pictures.****

Be adding some others in the coming days. I hope that is helpful.

if you have any problem can write here to help.
installing

Steps to add these to your vbulletin bbcode
admin panel--->Custom BBcode --->Add new BBcode
---------------------------------------------------------------------------------------------------
If you think you helped this small mod, do not forget to make a small donation

---------------------------------------------------------------------------------------------------
Title = YouTube BB Code
BB Code Tag Name = yt
Replacement
Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2">
                        </td>
        </tr>
</thead>
<tr>
<td>
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
</td>
</tr>
</table>


Example = [yt]UdKxkv2ZTmU[/yt]
Description = You Tube embed videos
Use {option} = no
Button Image (Optional) = images/youtube.gif

http://www.youtube.com/watch?v=HMJ8GMApGx4

For embed Youtube video only add code after watch?v=

--------------------------------------------------------------------------------------------------------

Title = Meta Cafe BB code
BB Code Tag Name = mt
Replacement
Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2">
                </td>
        </tr>
</thead>
<tr>
<td>
<embed src="http://www.metacafe.com/fplayer/{param}.swf" width="400" height="345" wmode="transparent" allowFullScreen="true" allowScriptAccess="always"  pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"> </embed>
</td>
</tr>
</table>


Example = [mt]2571551/from_within_movie_trailer[/mt]
Description = Metacafe embed videos
Use {option} = no
Button Image (Optional) = images/metacafe.gif

http://www.metacafe.com/watch/cb-rNTnuBPBLMgrWWWisT7o15NaDp8LwZz9/csi_ny_conscience_season_5_episode_23/

For embed Metacafe video only add code after /watch/

------------------------------------------------------------------------------------------------------------

Title = Dailymotion BB code
BB Code Tag Name = dm
Replacement
Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2">
                </td>
        </tr>
</thead>
<tr>
<td>
<object width="480" height="381" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param name="movie" value="http://www.dailymotion.com/swf/{param}"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/{param}" type="application/x-shockwave-flash" width="480" height="381" allowFullScreen="true" allowScriptAccess="always"></embed></object>
</td>
</tr>
</table>


Example = [dm]xaf9ws_most-daring-painful-sleight-of-hand_shortfilms[/dm]
Description = Dailymotion embed videos
Use {option} = no
Button Image (Optional) = images/dailymotion.gif

http://www.dailymotion.com/related/xafes6/video/xa5pve_real-world-cancun-ep-108-settling-d_shortfilms

or

http://www.dailymotion.com/video/xafes6_real-world-cancun-ep-111-love-bites_shortfilms
For embed Dailymotion video only add code after /video/

---------------------------------------------------------------------------------------------------


Title = Game Trailers BB code
BB Code Tag Name = gt
Replacement
Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2">
                </td>
        </tr>
</thead>
<tr>
<td>
<object width="480" height="392" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid={param}"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.gametrailers.com/remote_wrap.php?mid={param}" type="application/x-shockwave-flash" width="480" height="381" allowFullScreen="true" allowScriptAccess="always"></embed></object>
</td>
</tr>
</table>


Example = [gt]55665[/gt]
Description = Game Trailers embed videos
Use {option} = no
Button Image (Optional) = images/gt.gif

http://www.gametrailers.com/video/ex...r-singularity/55690

For embed Game Trailers video only add #code 55690

-----------------------------------------------------------------------------------------------------

Preview and zip with gif source

erel34 09-10-2009 01:38 PM

thanks

COL NIL SATIS 09-10-2009 02:31 PM

Cheers..nice and easy code!! works well too

pujabrang 09-10-2009 04:56 PM

thanks great job nice and simple
one more request from me can you add zshare yahoo and msn bb code aswell please
regards

kama_tech 09-10-2009 05:26 PM

Quote:

Originally Posted by pujabrang (Post 1882680)
thanks great job nice and simple
one more request from me can you add zshare yahoo and msn bb code aswell please
regards


working on it:)

pujabrang 09-11-2009 12:50 AM

Quote:

Originally Posted by kama_tech (Post 1882709)
working on it:)

so i can hope to see this great job soon
weldone keep it up

pujabrang 09-12-2009 03:21 PM

thanks for updating
good job nice n easy to install

COL NIL SATIS 09-12-2009 06:49 PM

Brilliant...top top work !!!

RealTesters 09-13-2009 03:06 AM

Nice...Great works.!!

congratulations kama.!!

Regards,

matthewhotdude 09-15-2009 08:19 PM

Does not work I post a video and it just shows up like this [= YT]1TNiVaWux7Q[/= YT]


All times are GMT. The time now is 05:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02359 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete