Quote:
Originally Posted by MjrNuT
Thanks for the great update DJ!
You got my needs to work with WeGame and some others.
Just for confirmation purposes with regard to WMV Local Hosted. I see on your site that it also Auto Starts. I've seen the code on my install and it is set to FALSE. However, your FAQ seems to address this from Post #2.
Therefore, I cannot make this respect my own created WMV video, correct?
Additional question on this as I'm not very knowledgable, but you can set the height and width of the embed window, however it should match the size you've created the media for consistency, correct? Meaning if I make a large one in widescreen, 848x???, then I should use the dimensions for the definition?
Thanks in advance. Lastly, your site of examples is just fantastic.
|
That particular entry in the FAQ is referring to the standard definitions, and not Local Hosted. I haven't updated Local Hosted just yet, but there's an error in the code I was using. It depends on what browser your using that the autoplay isn't disabled. Go into your definition and change the
second, not the first, instance of
autoplay="false" to
autostart="0" and that should take care of the issue.
As for the height and width, they have to be fixed. I'm not sure if you have the most current version of it, but the height and width will be either what's in the definition or whatever you have set globally in the
AME Settings height and width settings. You can't just have them resize to whatever the video parameters are. AME just doesn't know what those are going to be.
Quote:
Originally Posted by RadioErewan
Did something like this:
Regexp
Code:
(http://([\w-]+\.)+[\w-]+(/[\w- ./]*)+\.(?:gif|jpg|jpeg|png|bmp|GIF|JPEG|JPG|PNG|BMP|Gif|Jpg|Jpeg|Png|Bmp))
Replacement
Code:
<img class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);"
src='$p1' /></a>
And have scaling all of of external images using ncode image resizer.
W/o ncode Replacement could look like this
Code:
<img src='$p1' style="max-width:650px" /></a>
Thanks DJ for inspiration!
|
I've been asked to do something like this before, but I was always a little reluctant as to how it would interact with the average posts on the forum. Let me know how it works out.
I would probably go with something like this for the RegEx:
Code:
http://[w.]*[\w&;\.-]+\.[gifjpebmpn]+
Then just use $ameinfo[url] for the image source. Of course, either way, your going to have account for URLs that have characters like % or @ and add those characters in as you go. That stuff drives me crazy.
Quote:
Originally Posted by SpyCam
Hello,
i deleted all old definitions and imported the master XML
now all new youtube videos (i just tested youtube) do not work, posts just show URLs
Metacafe (i just tested) - works fine.
Any ideas what it could be?
http://www.youtube.com/watch?v=CUS1OMPWGPw link does only show as a link, if it wasn't parsed by AME plugin, it would be showing site and video name, not URL, so please let me know what to do
|
No reason why it shouldn't be. I tested the URL and got it to parse. Let me take a look at the post(s) in question.
Quote:
Originally Posted by MagicThemeParks
DJ, do we use the embed code or the URL of the playlist for the playlist.com postings?
Do we have to do anything special with sharing the playlist on the site?
Edited: Found the URL to share on playlist and it worked.
Demo: http://www.legendaryrockers.com/foru...20&postcount=6
How do you edit the color of the 'background' behind the actual player?
|
Playlist was a work around, as their provided embed code is fine. But the id numbers I need are not accessible in the URL or the HTML of the page. So I had to fake it. It's just their pop out player inside of an iframe. So there's nothing you can do to changed the background, as it's their site producing it.
Quote:
Originally Posted by Stryker412
|
Only other thing we can try is for you to give me temp admin access and I look at things on the backend to see what's going on there.
Quote:
Originally Posted by Musika
I think the definition for clipfish has changed, cause it doesn't work.
This is an example expression
PHP Code:
http://www.clipfish.de/video/3221228/
and this ist the embedet code
PHP Code:
<div style="width:320px; height:260px;"><iframe src="http://www.clipfish.de/embed_image/?vid=3221228&col=990000" name="Clipfish Embedded Image" width="320" height="260" align="left" marginheight="0" marginwidth="0" frameborder="0"></p>
<p>Lustige Videos kostenlos! Sehen, lachen, mitmachen - lade Dein Fun Video gratis hoch und teile funny Videos mit Freunden. Clipfish</p>
<p></iframe>
</div>
What is the Media Definition Code, Regular expression and Replacement so that I can fix it?
|
Clipfish is blocked in my country, so I wasn't able to do anything but update the embed code I had in the old definition. If you can get me a few more example URLs
and embed code samples from the site (three or four
each should do), I can work something up, but you would have to let me know if it's working.