Quote:
Originally Posted by idan356
Hi, I'm trying to make a dropbox player.
This is what I tried but I can't make it work.
What's wrong?
The Original Link (Example):
https://www.dropbox.com/s/n4htlu6gwy...%20Edit%29.mp3
Regular expression:
http[s]*://www\.dropbox\.com/s/([\w]+)/([\w_-#&\%^]+)\.mp3
Replacement:
<object type="application/x-shockwave-flash" data="/misc/audio-player/player.swf" id="audioplayer" height="24" width="290"> <param name="movie" value="/misc/audio-player/player.swf"> <param name="FlashVars" value="playerID=audioplayer&soundFile=https%3A %2F%2Fwww\.dropbox\.com/s/$p1%2F$p2.mp3?dl=1"> <param name="quality" value="high"> <param name="menu" value="false"> <param name="wmode" value="transparent"> </object>
|
I don't know too much about embedding Dropbox audio, but I can tell you that your regex shouldn't have the - in the center of the group. It treats the _ and # as a span like it would between 0-9. Move the dash to just after the caret symbol ^. That, at the very least, will give you a valid regex pattern.
Quote:
Originally Posted by MonkYZ
Hi Digital Jedi!
I am trying to use your XML media definitions on my AME3, but i am getting some error "You appear to be trying to import old AME definitions. You can only import definitions made in 3.x".
I don't understand... the definitions are newer... and isn't AME3 newer than AME 2.5?
What should i use to make these definitions work?
Thanks in advance!
|
AME 3 is newer, but these definitions are for 2.5 only. AME 3 requires a whole different set be written, which I'm currently trying to work on.
Quote:
Originally Posted by MonkYZ
|
Only if you're using vBulletin 3.x. AME 2.5 will not work on the vBulletin 4 series, and vice versa.
Quote:
Originally Posted by kshymkiw
It does end with </AME>
I removed some of the Imports, and just trying to do Youtube. It says the display order has been saved, but when I go to display defintions, it says there is no definitions.
|
That definitely sounds like a server issue. And we seem to be running into more and more of these as vB 3 gets older. Try checking with your host to see if limits are set on what can saved or submitted by scripts on your server.