Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
LiveLeak/DailyMotion/CollegeHumor Vid Embed Details »»
LiveLeak/DailyMotion/CollegeHumor Vid Embed
Version: 1.00, by da420 da420 is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 12-21-2006 Last Update: Never Installs: 15
 
No support by the author.

This is BB Code for Embedding LiveLeak and Daily Motion Videos. It was something I did very quick once I realized how it was done.

To add this to your forum go to:

ACP > Custom BB Codes > Add New BB Code

In the fields found in that form use this information to create the working BB Codes...



LiveLeak BB Code:


Title: Live Leak Vid Embed

Tag: llv

Replacement:

Code:
<embed src="http://www.liveleak.com/player.swf" width="450" height="370" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="autostart=false&token={param}" scale="showall" name="index" />
Example: [llv]96feee086c[/llv]

Description: For embedding LiveLeak Vids

Use {option}: No



DailyMotion BB Code:


Title: Daily Motion Vid Embed

Tag: dmv

Replacement:

Code:
<div><object width="425" height="335"><param name="movie" value="http://www.dailymotion.com/swf/{param}"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.dailymotion.com/swf/{param}" type="application/x-shockwave-flash" width="425" height="334" allowfullscreen="true"></embed></object></div>
Example: [dmv]74Kct2CLI6oTj5HBX[/dmv]

Description: For embedding Daily Motion Vids

Use {option}: No



CollegeHumor BB Code:


Title: College Humor Vid Embed

Tag: chv

Replacement:

Code:
<embed src="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id={param}" quality="best" width="400" height="300" type="application/x-shockwave-flash"></embed>
Example: [chv]1732680[/chv]

Description: For embedding College Humor Vids

Use {option}: No



That's it... now put the video ID in between the BB Code and you will have embedded vids from those sources.

TO get the video ID from Live Leak you take it directly from the url... just copy and paste the number highlighted in red.

Code:
http://www.liveleak.com/view?i=a98e3ec03b

To get it from Daily Motion you have to get it from the HTML code like so:

Below the video in the Daily Motion pages you will see an option that says Embeddable Player in that is the HTML code for embedding it into HTML enabled pages. Highlighted in red is the ID that will be needed to put inbetween the BB Codes.

Code:
<div><object width="425" height="356"><param name="movie" value="http://www.dailymotion.com/swf/1ldwfCLqBNIFH5UQN"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.dailymotion.com/swf/1ldwfCLqBNIFH5UQN" type="application/x-shockwave-flash" width="425" height="334" allowfullscreen="true"></embed></object><br /><b><a href="http://www.dailymotion.com/video/xu83l_railpart">Rail-part</a></b><br /><i>Uploaded by <a href="http://www.dailymotion.com/dimitri-stankowicz">dimitri-stankowicz</a></i></div>

To get the video ID from college humor just use the number after video: as shown in example by the red highlighted text.

Code:
http://www.collegehumor.com/video:1732680

For embedding google, youtube, and other such videos from video hosts do a quick search, there are many, I just didn't come around hacks for these two sites that I use other than the AnyMedia one that Adult SEO is doing but as for now that is not working, so this is tiding me over till then.

Thanks for your interest. If you use this enjoy, and please click install.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-22-2006, 09:35 AM
emdee emdee is offline
 
Join Date: Jul 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any example of implementations?
Reply With Quote
  #3  
Old 12-23-2006, 01:40 AM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I do have an example of implementation. Don't see what good it will do, but here it is...

http://www.mindifidoaj.com/forum/new...d=46#post94658
*site contains adult language

If you look at post 6 you will see the LiveLeak, and DailyMotion examples.

I have also added College Humor to this BB Code set, and post 8 shows an example of that.

Thanks...
Reply With Quote
  #4  
Old 12-23-2006, 10:37 PM
iran.gs iran.gs is offline
 
Join Date: Jul 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed Excellent thanks
Reply With Quote
  #5  
Old 12-23-2006, 10:44 PM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for installing... I will be adding more video sites to this as I get them to work for anyone interested.
Reply With Quote
  #6  
Old 12-26-2006, 01:22 AM
FockerFGAA FockerFGAA is offline
 
Join Date: Dec 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the main thing i see is that you included the Uploaded by such and such user at the end of the bb code for dailymotion this part here should be able to be just removed from the code since it serves no functional purpose.

Code:
<br /><b><a href="http://www.dailymotion.com/video/xt4tx_bw">B&amp;W</a></b><br /><i>Uploaded by <a href="http://www.dailymotion.com/pjkproductions">pjkproductions</a></i>
Reply With Quote
  #7  
Old 12-26-2006, 01:26 AM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are right. I have taken that part out of the code.

I will be adding more this week. If anyone has a site that they use for vids, post it here, and if I can I will post the embedding BBCode.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04286 seconds
  • Memory Usage 2,265KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete