vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

L-Mane 08-10-2011 01:31 AM

How can you get espn links to work with this?

yjeanrenaud 08-10-2011 05:08 AM

sure, if they're embeddeable

DaffyDuck 08-10-2011 08:25 AM

Is there a way for a mod to force vimeo and YouTube to display the H.264 of HD versions of a video via this plugin?

bryanb 08-11-2011 07:15 PM

Is there anyway to get Liveleak links to work?

Thanks!

yjeanrenaud 08-11-2011 07:28 PM

Code:

@DaffyDuck sure:
<object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded&amp;ap=%2526fmt%3D22">
        <param name="movie" value="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded" />
        <param name="wmode" value="direct" />
        <param name="allowfullscreen" value="true" />
        <!--[if IE 6]>
        <embed width="640" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded&amp;ap=%2526fmt%3D22" allowfullscreen="true" />
        <![endif]--></object>

you just add
Code:

&amp;ap=%2526fmt%3D22
to the embedding url.

yjeanrenaud 08-11-2011 07:34 PM

bryanb,
sure, here you are:
Code:

url:
http://www.liveleak.com/

Code:

regex url:
http:\/\/www\.liveleak\.com\/view\?i=([a-zA-Z0-9-_]+)

Code:

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


bryanb 08-11-2011 09:16 PM

Quote:

Originally Posted by yjeanrenaud (Post 2232376)
bryanb,
sure, here you are:
Code:

url:
http://www.liveleak.com/

Code:

regex url:
http:\/\/www\.liveleak\.com\/view\?i=([a-zA-Z0-9-_]+)

Code:

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


Hmm - for some reason, that didn't work. This is what appeared in the post;

[video=;5fe_1313080292]http://www.liveleak.com/view?i=5fe_1313080292[/video]

bryanb 08-11-2011 09:24 PM

My bad - forgot the Tagoption :o

Works now :D

DaffyDuck 08-12-2011 08:35 AM

Quote:

Originally Posted by yjeanrenaud (Post 2232374)
[CODE]@DaffyDuck sure:

Not quite sure where to add the code you pasted?

I know that by adding &fmt=22 I get HD, and by adding &fmt=18 it displays the HQ stream if available.

I can add those to the YT links before I paste them in the page, but I'm looking for a means to automate the process so my users don't have to think about it.

yjeanrenaud 08-12-2011 08:48 AM

go to admincp>AME>display>youtube>
paste this into the embed-form and save:
Code:

<object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded&amp;ap=%2526fmt%3D22">
        <param name="movie" value="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded" />
        <param name="wmode" value="direct" />
        <param name="allowfullscreen" value="true" />
        <!--[if IE 6]>
        <embed width="640" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded&amp;ap=%2526fmt%3D22" allowfullscreen="true" />
        <![endif]--></object>



All times are GMT. The time now is 12:21 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.02849 seconds
  • Memory Usage 1,746KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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