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)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... (https://vborg.vbsupport.ru/showthread.php?t=195884)

snakes1100 04-10-2011 05:35 PM

Youtu.be Addon:

Title = Your Choice
Description = Your Choice
Unique Key = Your Choice
Display Order = Your Choice
Active = Yes
Contain = Yes

Regex
Code:

http:\/\/youtu\.be\/([A-Za-z0-9-_]+)
Replacement
Code:

<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name="movie" value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>

Noted Correction:
New Code - param name="movie" <-- Double quotes
Old Code - param name=''movie'' <-- Two single quotes

gnatster 04-20-2011 08:20 PM

Hmmm...not working for me.

Quote:

Originally Posted by snakes1100 (Post 2183067)
Youtu.be Addon:

Title = Your Choice
Description = Your Choice
Unique Key = Your Choice
Display Order = Your Choice
Active = Yes
Contain = Yes

Regex
Code:

http:\/\/youtu\.be\/([A-Za-z0-9-_]+)
Replacement
Code:

<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name="movie" value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>

Noted Correction:
New Code - param name="movie" <-- Double quotes
Old Code - param name=''movie'' <-- Two single quotes


boggseric 04-25-2011 02:53 AM

Quote:

Originally Posted by gnatster (Post 2186787)
Hmmm...not working for me.

It works. I am using this, but for some reason it's not pulling the title? I am not a regex expert so maybe someone else can chime in as to why that is.

Youtu.be Addon:

Title = Your Choice
Description = Your Choice
Unique Key = Your Choice
Display Order = Your Choice
Active = Yes
Contain = Yes
Extract destination data = Yes

Regex
Code:

http://youtu\.be/([\w-]+)[\#t=]*([\d]*)[&;10shdq=]*
Replacement
Code:

<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name="movie" value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1&start=$p2"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1&start=$p2" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>

Good news, #t= works, bad news, it doesn't pull the title. :\

BirdOPrey5 04-25-2011 05:03 PM

I find some videos grab the title and some don't- I've had the problem with the original youtube definitions as well.

yin9 04-27-2011 01:26 PM

Someone has more definitions for AME 3 for VB 4.x? Megavideo for VB 4?

Thanks in advance.

Uber_Tiny 05-02-2011 12:36 AM

I am having issues trying to get the youtube videos to size correctly. I am replacing the "$ameinfo[height]" with the one I want because the default zone settings are not working either and yes I uploaded the delta definitions and never installed the 3rd times a charm. Can someone please help me with this. This is what I have tried so far.

Code:

<object width="$ameinfo[425]" height="$ameinfo[350]">
<param name=''movie'' value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[350]" height="$ameinfo[425]" wmode="transparent"></embed></object>

Code:

<object width="$ameinfo[425px]" height="$ameinfo[350px]">
<param name=''movie'' value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[350px]" height="$ameinfo[425px]" wmode="transparent"></embed></object>

No "$ameinfo[height]"
Code:

<object width="425" height="350">
<param name=''movie'' value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="350" wmode="transparent"></embed></object>


No $ameinfo[height] with px added.
Code:

<object width="425px" height="350px">
<param name=''movie'' value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="350px" height="425px" wmode="transparent"></embed></object>

What am I doing wrong?

boggseric 05-02-2011 02:08 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2188531)
I find some videos grab the title and some don't- I've had the problem with the original youtube definitions as well.

It doesn't ever pull the title though with the youtu.be links but will if you post the full youtube.com url.:confused:

BirdOPrey5 05-03-2011 04:59 PM

Quote:

Originally Posted by Uber_Tiny (Post 2190882)
I am having issues trying to get the youtube videos to size correctly. I am replacing the "$ameinfo[height]" with the one I want because the default zone settings are not working either and yes I uploaded the delta definitions and never installed the 3rd times a charm. Can someone please help me with this. This is what I have tried so far.
...

What am I doing wrong?

Use...
Code:

<object width="$ameinfo[width]" height="$ameinfo[height]">
If you want manual sizes then it's just the number, no px... so height="350" for example.


Quote:

Originally Posted by boggseric (Post 2190905)
It doesn't ever pull the title though with the youtu.be links but will if you post the full youtube.com url.:confused:

Well it does for me... for example this youtube url grabs the title just fine for my forum:
http://youtu.be/TKPvwep08xc

MikesSite 05-04-2011 06:44 PM

Do you know of a way to disable this plugin if using vBulletin Mobile Suite? You cannot edit the mobile suite style and I have tried inserting conditionals into the plugin with now luck.

Thanks.

Uber_Tiny 05-08-2011 12:57 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2191412)
Use...
Code:

<object width="$ameinfo[width]" height="$ameinfo[height]">
If you want manual sizes then it's just the number, no px... so height="350" for example.

I did that, but it did not work. I put that up in my original post.


All times are GMT. The time now is 05:40 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.04772 seconds
  • Memory Usage 1,772KB
  • 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
  • (12)bbcode_code_printable
  • (6)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