vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   LiveLeak Video Embedding code. (https://vborg.vbsupport.ru/showthread.php?t=132864)

BVM 11-29-2006 10:00 PM

LiveLeak Video Embedding code.
 
This is my first release on here, and it's VERY simple. If I have posted it in the incorrect section I apologise in advance. Basically it enables you to embed LiveLeak videos on your forum. I haven't tested it in anything apart from 3.6.3 and 3.6.4 so if any modifications are needed to make it work with other versions please feel free to alter and post the code as needed.

I have included a button should you wish to use it. To use this embed code all your members have to do is hit the button or enter the tags and place the video identifier between the tags. The identifier is at the end of the url, i.e.

'http://www.liveleak.com/view?i=c8e8af1e5d'

Installation is simple and should only take moments:

Goto your Admin CP > Custom BB Codes > Add New BB Code.

Fill in as follows:

Title : Your choice here. I used LiveLeak

Tag: Again, your choice. I used LL

Replacement
:
Code:

<object type="application/x-shockwave-flash" width="450" height="370" wmode="transparent" data="http://www.liveleak.com/player.swf?autostart=false&token={param}&s=2&p=%ll_token%"><param name="movie" value="http://www.liveleak.com/player.swf?autostart=false&token={param}&s=2&p=%ll_token%"><param name="wmode" value="transparent"><param name="quality" value="high"></object>
Example : [LL]c8e8af1e5d[/LL]

Description: LiveLeak Embedding.

Use {option} : Choose the 'No' radial.


Currently there do seem to be limits as to what you can embed. I believe they have to authorise you to embed any videos tagged as "Graphic" and this may involve installing a small token exchange script on your site (I really don't know too much about this at present).


Please find the button attached below. I hope this works okay and is of some use to you guys.

TheBlackPoet 11-30-2006 09:43 AM

im installing right now!!!

works perfectly!!!!!

Barakat 11-30-2006 10:29 AM

thanks very nice

vspro 12-03-2006 04:51 PM

thax you so much intall now

smoknz28 12-03-2006 08:50 PM

Installed on vB 3.6.3.

Thanks for sharing this code with the rest of us. ;)

smoknz28 12-07-2006 12:13 AM

Problem now that I've noticed....the videos don't play within the forums. Here's an example of one I posted on my site:

http://www.f-bodyhideout.com/forums/...ad.php?t=25226

BVM 12-11-2006 07:45 PM

Quote:

Originally Posted by smoknz28 (Post 1133556)
Problem now that I've noticed....the videos don't play within the forums. Here's an example of one I posted on my site:

http://www.f-bodyhideout.com/forums/...ad.php?t=25226


I'm afraid your forum just keeps bouncing me to the donate page over and over no matter what I do. Remember that you cannot embed graphic media files without contacting the folks at liveleak. Apart from that any approved media has been working for me.


**Edit** If you could tell me what it is that's happening or any errors on the player I might be able to help more. Thanks.

trbznl 03-09-2007 04:38 PM

It cant work for vb3.6.4 in forum messages...

lonelime 05-07-2007 04:18 AM

hi all,

does anyone got this www.livevideo.com embeded to their forum please share ...if you do

thanks

TonyComix 12-30-2007 01:23 AM

holy crap! It works beautifully!


All times are GMT. The time now is 02:49 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.01031 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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