Quote:
Originally Posted by Deyth
I use AME 2.5.5. I imported your master XML list without a hitch and then tried to post a link to an HD Youtube video but it showed up as with an SD size. How do I get it to show as it would on Youtube?
|
It's DJ's add on, so I am not 100% sure about his youtube key, but you can do this:
create a plugin:
Hook Location: automediaembed_parse_bbcode_match_start
Title: Youtube HD Bigga Please
code
PHP Code:
if ($ameinfo['key'] == "youtube_hqhd" && $ameinfo['zone'] == "post")
{
$ameinfo['width'] = "640";
$ameinfo['height'] = "480";
}
IIRC, his youtube HD key is
youtube_hqhd but you will need to double check. The code above will override the media settings if the key is youtube_hqhd its in a post.
FWIW, I am investigating the ability to override these settings on a per definition basis in a future version of AME.