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)
-   -   Major Additions - AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs (https://vborg.vbsupport.ru/showthread.php?t=202476)

developpez.com 09-11-2009 02:01 PM

I have a problem. When I activate the "Extract destination data" setting (required to make dailymotion to work), if the title has accentued letters in it, it will be shows in utf-8 encoded form. The mods lacks a utf8_decode() call somewhere. :(

Example :

http://www.youtube.com/watch?v=DIBGpG1Gy2g

Gives as title :
YouTube - BANDE SON -- Les sous doués passent le Bac

where it should have been
YouTube - BANDE SON -- Les sous dou?s passent le Bac

Fixed by adding utf8_decode() at the two returns in the ame_fetch_www_page function in includes/ame_bbcode.php

Gamelobby 09-12-2009 02:35 AM

Quote:

Originally Posted by Gamelobby (Post 1881709)
Love this Mod, but i recently installed a mod called "Garage" and was wondering how to go about getting Photobucket (or any videos) to work in it.?

Garage Mod - https://vborg.vbsupport.ru/showthread.php?t=216529

I'm wondering if it is their mod that is stopping it, or this mod that needs to be adapted to work in that section.

Thanks.

Quote:

Originally Posted by Digital Jedi (Post 1881759)
It depends on what URL strings the modification uses, but I can look into it.

Any luck..?
Or any questions or info i can give to help with your research.?

Also they have another mod called "Clubs" that would be cool to be able to add videos to also. :)

Digital Jedi 09-12-2009 05:07 PM

Quote:

Originally Posted by Gamelobby (Post 1883473)
Any luck..?
Or any questions or info i can give to help with your research.?

Also they have another mod called "Clubs" that would be cool to be able to add videos to also. :)

I'm still trying to catch up on a few other things.

Digital Jedi 09-12-2009 05:09 PM

Quote:

Originally Posted by The Geek (Post 1882038)
I can't claim to know all about mobile phone browsers, however if you look at the js file, it is one function that toggles the hiding/unhiding of the media based on usergroup permissons. Simply edit the ame_output template of your mobile style to be:

<a href="$ameinfo[url]" />$ameinfo[title]</a>

And there will be nothing for the js to do. If you do that, I would edit the mobiles ame_container template and delete all the HTML in it (so its an empty template)

That should do you fine.

I went ahead and made a mod thread with the template edits and marked it as an add-on to this thrad, since this question does come up a lot: AME Templates for Mobile Skin

P.Jackson 09-16-2009 11:00 AM

When we post a link we don't actually get a video, its just a link to the video. any ideas?

Digital Jedi 09-16-2009 02:28 PM

Quote:

Originally Posted by P.Jackson (Post 1885666)
When we post a link we don't actually get a video, its just a link to the video. any ideas?

Post an example of where that's happening.

rladner 09-17-2009 02:29 AM

When I view a post in IE6 through IE8 the video doesnt show at all, any recommendations?

Here is an example - http://www.40by20.com/forum/showthread.php?t=33

They all play fine except in IE6,7,8

Digital Jedi 09-17-2009 04:49 AM

Quote:

Originally Posted by rladner (Post 1886135)
When I view a post in IE6 through IE8 the video doesnt show at all, any recommendations?

Here is an example - http://www.40by20.com/forum/showthread.php?t=33

They all play fine except in IE6,7,8

Are you actually using AME 2.5, because it looks to me like your height and width parameters are being stripped out? Your source code shows the height and width for your videos blank. That would only happen if you were using a 2.0- version of AME and the definitions for 2.5.

rladner 09-17-2009 06:34 AM

Yes, I'm using 2.5. Heres what it shows on my installed products

AME - The Automatic Media Embeder 2.5.5 Automatically embeds media URLs with posts


Here's what Im using for the youtube definitions:

regular expression:
Code:

http://[\w]+\.youtube\.[\w]+/watch\?v=([\w-]+)[\w&;=]*[\#t=]*([\d]*)s?
replacement:

Code:

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

Quote:

Originally Posted by Digital Jedi (Post 1886171)
Are you actually using AME 2.5, because it looks to me like your height and width parameters are being stripped out? Your source code shows the height and width for your videos blank. That would only happen if you were using a 2.0- version of AME and the definitions for 2.5.


Digital Jedi 09-17-2009 03:23 PM

Quote:

Originally Posted by rladner (Post 1886198)
Yes, I'm using 2.5. Heres what it shows on my installed products

AME - The Automatic Media Embeder 2.5.5 Automatically embeds media URLs with posts


Here's what Im using for the youtube definitions:

regular expression:
Code:

http://[\w]+\.youtube\.[\w]+/watch\?v=([\w-]+)[\w&;=]*[\#t=]*([\d]*)s?
replacement:

Code:

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


Only thing I can think of is to check your Height and Width global settings in the AME CP and make sure they aren't blank. Then resave your posts and see if the settings stick. If that doesn't work, then go into your media definition and in the Replacement HTML put brackets around each instance of the size variables. Remember that you'll probably have more than two each definition:

Code:

width="{$ameinfo[width]}" height="{$ameinfo[height]}"
Then resave the posts and see if that helps.


All times are GMT. The time now is 07:14 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.14138 seconds
  • Memory Usage 1,756KB
  • 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
  • (8)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