vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   LiveLeak Custom BB embed code (https://vborg.vbsupport.ru/showthread.php?t=252253)

dawges 10-18-2010 07:01 PM

LiveLeak Custom BB embed code
 
Hi,

I am running VB 4.07 and have tried every code i could find for LiveLeak. Nothing has worked so far. Has anyone had any success creating custom BBCode for LiveLeak on vbulletin 4X? Thanks in advance.

BirdOPrey5 10-18-2010 07:20 PM

Try this:

BB Code Replacement Code:
Code:

<object width="450" height="370"><param name="movie" value="http://www.liveleak.com/e/{param}"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.liveleak.com/e/{param}" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" width="450" height="370"></embed></object>
Example:
[liveleak]c4e_1287350646[/liveleak]

Use the code after the "=" in the URL between the tags:
http://www.liveleak.com/view?i=c4e_1287350646

dawges 10-18-2010 07:49 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2111424)
Try this:

BB Code Replacement Code:
Code:

<object width="450" height="370"><param name="movie" value="http://www.liveleak.com/e/{param}"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.liveleak.com/e/{param}" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" width="450" height="370"></embed></object>
Example:
[liveleak]c4e_1287350646[/liveleak]

Use the code after the "=" in the URL between the tags:
http://www.liveleak.com/view?i=c4e_1287350646

wow! Thanks for the quick reply and it worked perfectly the first time! I really appreciate the help!

BirdOPrey5 10-18-2010 08:26 PM

not a problem. :up:

dawges 10-18-2010 08:30 PM

I really don't like to add mods when unnecessary. I would rather work within vbulletin when possible. Adding a mod for hundreds of video sites that i don't care about just doesn't make sense.

chjp 02-15-2011 05:06 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2111424)
Try this:

BB Code Replacement Code:
Code:

<object width="450" height="370"><param name="movie" value="http://www.liveleak.com/e/{param}"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.liveleak.com/e/{param}" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" width="450" height="370"></embed></object>
Example:
[liveleak]c4e_1287350646[/liveleak]

Use the code after the "=" in the URL between the tags:
http://www.liveleak.com/view?i=c4e_1287350646

Special Thank :)

CK 08-02-2011 08:07 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2111424)
Try this:

BB Code Replacement Code:
Code:

<object width="450" height="370"><param name="movie" value="http://www.liveleak.com/e/{param}"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.liveleak.com/e/{param}" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" width="450" height="370"></embed></object>
Example:
[liveleak]c4e_1287350646[/liveleak]

Use the code after the "=" in the URL between the tags:
http://www.liveleak.com/view?i=c4e_1287350646

How would I get this working with the default video tags?

BirdOPrey5 08-02-2011 11:16 PM

I don't see anyway to add custom sites to the VB4 [video] tag... If I'm missing something let me know.

Wild Bronco 12-02-2011 06:13 PM

I am wondering how this could be added to the WYSIWYG panel

And in to this .xml
/includes/xml/bbcode_video_vbulletin.xml

Something like this
Code:



<provider tagoption="google">
                <title>Google</title>
                <url>http://video.google.com</url>
                <regex_url><![CDATA[http:\/\/video\.google\.com\/videoplay\?docid=([0-9\-]+)]]></regex_url>
                <regex_scrape></regex_scrape>
                <embed><![CDATA[<object class="restrain" type="application/x-shockwave-flash" width="400" height="326" data="http://video.google.com/googleplayer.swf?docid={vb:raw code}">
        <param name="movie" value="http://video.google.com/googleplayer.swf?docid={vb:raw code}" />
        <param name="wmode" value="transparent" />
        <!--[if IE 6]>
        <embed width="400" height="326" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docid={vb:raw code}" />
        <![endif]--></object>]]></embed>
        </provider>


Trevor Matthews 03-23-2012 08:49 PM

Many thanks for that, I have just used it on my forum.


All times are GMT. The time now is 11:30 PM.

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.01975 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete