![]() |
Quote:
|
1 Attachment(s)
Here is a new definition for internal linking. Note that this will link ALL guest accessible area of your site so you don't need seperate ones for linking posts, threads, etc. If you have DJ's internal linking definitions installed, please delete those before importing this one.
Note that you will need to edit this definition during the import process or afterward to enter your domain name. The setting you want to change is the Regular Expression in order to swap YOUR_DOMAIN to whatever your domain name is. For example, lets say that your domain is www.google.com (can I be your friend if it is?). You would change: PHP Code:
PHP Code:
|
Quote:
|
Quote:
But the problem is - it doesn't work :eek: May be you will try your-self? ;)
This one doesn't work :( I made a test file and there it works... PHP Code:
|
Try escaping the quotes as in :
PHP Code:
|
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?
|
Quote:
create a plugin: Hook Location: automediaembed_parse_bbcode_match_start Title: Youtube HD Bigga Please code PHP Code:
FWIW, I am investigating the ability to override these settings on a per definition basis in a future version of AME. |
You got the key right but it doesn't work. These are the links I'm testing with:
http://www.youtube.com/watch?v=Kw2gy01gkzs http://www.youtube.com/watch?v=Kw2gy01gkzs&fmt=18 http://www.youtube.com/watch?v=Kw2gy01gkzs&fmt=22 |
The last one is the only one that looks like it should be the HD one. Ill look into DJ's definition and see if I can see if/why it may/may not be working.
|
Thanks. I saw someone else do it here but I don't know how.
|
1 Attachment(s)
Quote:
1. Remove your existing youtube definitions. 2. Import the AME definition attached to this post. I have modified the default version to do what we need it to do (I will also update the default for next AME release to this version). 3. Change the plugin above code to this: PHP Code:
This will basically deal with youtube links as normal, however if the URL contains fmt=18, it will make the video appear a little bigger. If the URL contains fmt=22 then it appears even bigger than that in HD. Anyhoo, tested with your 3 links above and seems to work. HTHs |
Quote:
|
Quote:
PHP Code:
PHP Code:
PHP Code:
P.S. Found a bug in PHP BB Code... Really the lines above look like: Code:
<link rel=\"canonical\" href=\"/video/([a-z_0-9-]+)\" Code:
<link rel=\"canonical\" href=\"/video/\([a-z_0-9-]+\)\" Code:
<link rel=\"canonical\" href=\"/video/(\[a-z_0-9-\]+)\" |
I think 18 is hq and 22 is hd. I'll test this now and get back to you. Great response to all this, thanks. Your addon is quite impressive.
|
Quote:
Worked for me. Export the definition and ill check it out as you have it. |
It works in terms of changing container size although the HD doesn't actually match an HD video in size. Also, for some reason when you click on the embed to go to Youtube it doesn't bring you to the HD video. I don't know if that's a Youtube or addon issue. Compare:
http://unmoderated.info/forums/showt...1683#post11683 http://www.youtube.com/watch?v=Kw2gy01gkzs&fmt=22 |
The HD size should be 853x505.
|
The sizes were just estimates I threw in. Change as it suits your forum (853 in width will break a lot of forum layouts).
When I clicked on the 3rd one, it took me to the HD version of the video, though in honesty I suspect they should have hd=1 in the URLs. THis is something Ill look into better ways to support in the future. Also, the 3rd one does play in HD, so appart from the sizes (which you can change to suit you) it works as you want doesnt it? |
Quote:
Looks like it works for me also. :eek: Better don't know why it was not working. :erm: AME Settings -> Extract destination data -> No And the notice message which has to be displayed while you were editing some definition was "Dismiss"ed a long time ago. :o The Geek, I promise, I will punish myself. Really sorry. Excuse me! It will be another lesson for me. Thanks for you time! |
Quote:
|
I had some problems with double video embedding, even no double definitions exists.
I ran the rebuild option but nothing happended. Just uninstalled, and re-installled and now it works. Very weird. Thanks for this great mod. |
1 Attachment(s)
I did installed the first file DJ's Master XML (Delta) trough the AME CP, I did had "The Geek" AME already installed. Before I did delete Amazon and Youtube from the first AME. I think I did everything fine because it told me "Imported as a charm" or some like that, I also set it to Extract destination data; I must confess I'm going like following the arrow bc Im not expert.
Question: The 6 images, arrows etc, is there a file that I have to save into my forum files? Is so where it is and under what file should I save it to.However, nevermind the images if you will.....my big problem so far is this: When I copy a video link into my post (from three different sources so far) I will get a little linked dot and that's all.Any idea on why? I'm missing something? |
Can you provide a link that you were using?
|
HI....
meta cafe videos are not working means ust link is show. please check link : http://www.newsoftworld.com/forums/e...ttlefield.html |
Quote:
Click Here please |
I need the URLs and need to know if they are the default definitions or ones that someone else made
|
I didn't touch the defaults, not sure If I underestand what you mean though...
I'm not using embeding urls or anything else but the actual url of the page where the video is in. Now you can see the url's, is fixed. Videos and links, last post please |
First. Thank you for all the hard work on this mod.
Is there a way to disable the resizing of the videos? I tried removing the default height and width definitions but that did not resolve. Read through the FAQ and did a search but didn't find any useful results. Thanks |
Quote:
Saying that, I am starting to look at a way to specify the media dimensions on a per definition basis, but have no idea when the next version will be out. |
Quote:
|
hey geek i've come up with a new problem, i can play youtube/google video fine , but so far i've tred sites like break.com/veoh/cafepress/youku and a buncha others but no video plays, i only get a regular url as if i were pasting it, any idea? ive imported DJ's Master XML (Delta).xml removed it and tried it again but same problem.
|
I don't think all of his definitions are up to date. IIRC, I did one for break a few pages back if that helps.
|
thanks , i hope someone creates an updated import =))
|
Quote:
|
1 Attachment(s)
Quote:
Thanks The Geek for been so patient w/ me. If somebody else can answer the question and help The Geek to help me please be my guest. :) This is what I have on the Admin CP--AME Settings. See attachment please. Thanks. |
Quote:
|
Quote:
Thanks. I imported this: HTML Code:
AME-internal.xml (756 Bytes, 2 views) Video Test |
Have you edited and resaved or tried a new post? vB caches the HTML in recent posts to speed up processing which means that your recent posts will already have been processed and AME won't be run on them again for awhile unless they are edited and saved or you re run the rebuild tool.
If this isn't the case, post your replacement code. |
1 Attachment(s)
Thanks Thee Geek, your patience paid of, any idea on why metacafe is not working?Dailymotion isn't either btw, Google and Youtube r working as a charm so far.
|
Dont know as I didn't write them. The reason I gave AME the ability to import and export definitions was so that the community could share, modify and keep up with the ever changing face of media sites. It was that or I spent all my coding time trying to keep up with it all. Sadly, I'll never have the time to make everybodys definitions. I pitch in where I can, however the more time I spend doing this, the less time I have to work on the next version (which I am trying to do).
So I suppose in a round about way, I am saying "I'm not sure why those aren't working, buy if I get some time I'll check it out" ;) |
All times are GMT. The time now is 09:34 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|