![]() |
sry for the maybe offtopic question but its important.
is there a mod like that AME for wordpress ? thanks very mutch for answer |
Anyway to make the embedding of YouTube be more widescreen like the widescreen on YouTube?
|
In the AME CP -> Settings there are several default width and heights... "Posting Zone" deals with posts.
I set my width to: 640 and height to: 385, I believe that matches the widescreen youtube settings. |
Quote:
|
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-_]+) Code:
<object width="$ameinfo[width]" height="$ameinfo[height]"> New Code - param name="movie" <-- Double quotes Old Code - param name=''movie'' <-- Two single quotes |
Unfortunately with the new shorter youtube URLs I can no longer check if embedding is allowed anymore. If I attempt to "validate" it always fails with a "302" error- must be from youtu.be forwarding to youtube.com. If anyone knows how to get validation working on the shorter URLs please let me know.
|
This doesnt work properly for me on 3.8.7
Quote:
|
Quote:
|
Here's what I'm using for the new short youtube URLs...
Probably could be more efficient but it works for me. Even does a custom start time if you append #t=90 to the URL where 90 is the start time in seconds. Import into your AME Control Panel. EDIT- Updated file, now in post #1495 |
I'm pretty sure that whoever invented regex did it because he hated people.
Thanks BirdOPrey5!!! |
Quote:
|
Quote:
|
Can you paste a short youtube URL here that isn't working?
|
I've tried 3 or 4 random youtube links and none of them work. http://youtu.be/TKPvwep08xc
|
1 Attachment(s)
I don't know... here's that link on my forum:
http://www.juot.net/forums/showthrea...28#post1015228 It worked fine. But I think I see what might be the issue... The period in youtu.be I didn't 'escape' - that is it should be youtu\.be in the code. Some versions of php might require this while others don't. I made this change and this is the updated definition. Delete the old one. |
Still not working, not to worry Joe, thanks for trying.
|
Something like this is going to annoy me all day... Can you give any more info? I assume by "doesn't work" you mean it doesn't even attempt convert it? Is there anything unusual about your server setup?
|
lol :D
Yip, it doesn't do a thing, simply places the short link in the post, when you click on the link it takes you to youtube as per normal. Not too sure about my server setup, I know I'm on a Litespeed server with urljet.com if that helps, on the vbPlatinum which is semi-dedicated shared hosting. |
Quote:
Forgive me for the seemingly entry-level questions but: 1) Could you have another youtu.be deffinition active and 2) Are you sure this definition IS set to active? |
Quote:
Quote:
|
Do you have VBSEO installed?
|
No, just the sitemap generator.
|
I don't suppose you have a test site with the same issue?
|
IM having a problem with the shortened url definition where what happens is, it cuts off everything below the last post. The quick reply box, footer, everything.
|
Quote:
|
Quote:
|
Quote:
|
can u tell me from this mod how can i allow embeded code in a specific section of my forum..?
|
When I first installed this hack everything worked perfectly. YouTube must have changed something since the, because the only way I can get anything to embed is by enclosing the ending code of the url in youtube tags, as such [YOUTUBE]5mV_HHL-h6g[/YOUTUBE].
Also the sig embedding displays at full size no matter what numbers i put in. I have installed the latest upgrade and definitions as per instructions to the best of my knowledge, but to no avail. I have not read every single post in this thread as 100+ pages is just too much. Any suggestions as to what I might be doing wrong? Forgive me if I'm asking a stupid question. Here's a link to an example of how it behaves. |
YouTube changed their "share" URLs recently and an official definition update hasn't been released yet. I believe a couple of options were posted earlier (recently) in this thread- either try an unofficial definition or copy a youtube url from the browser address bar, note a share url.
Looking at your link the first video you posted shows the YouTube video icon next to it, so it did attempt to embed but for some reason it believes that video is not allowed to be embedded. What code do you have in your AME Definition in your Validation box? Consider removing it and trying again. |
Quote:
Quote:
In case I wanted to try your unofficial definitions, should I just delete all the original definitions and import your your .xml File? |
Quote:
No you wouldn't delete all the definitions, just import mine, there is no existing youtube "short" URL so it won't replace an old one, just add the new one. |
I'm using AME 2.5.6 for 3.8. There is no Validation box. The available options are Display Order, Active, Contain, Extract Info and Delete.
I also imported DJ's AME (Auto Media Embedding) XML Media Definitions for AME 2.5 (Delta) via the AME CP. |
I think I may have found the problem. There was a duplicate YouTube def. Once disabled it seems to embed as it should. Thanks for your help!
|
1 Attachment(s)
That's great. But FYI this was the screen I was talking about- you should have it.
|
Ah, that explains it. I was looking in the wrong place. Thanks again!
|
Uninstalled. Doesn't work for me, i just get the url text.
|
Quote:
|
Quote:
Quote:
This thread is the mod itself which is obviously necessary... And then there are the Definitions - https://vborg.vbsupport.ru/showthread.php?t=195884 - maintained by Digital Jedi without which this is pretty much useless unless you can write your own definitions. Further complicating things youtube recently changed their "Share" URL... so if you paste in a video with a link to youtu.be instead of youtube.com it also will not work without another a new definition for youtube. |
Quote:
|
All times are GMT. The time now is 08:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|