Substituting MP3Audio for E2 XML Audio/Video player
|
ch_masson
Joined: 2008-05-21
Posts: 26 |
Posted: Tue, 2008-06-03 00:37
|
|
Hello, I am debating whether I should replace the current MP3Audio module that I currently have with the E2 XML Audio/Video player... The rationale behind that is to simply remove the lightening flash in the MP3Audio module. This first URL shows my current configuration with the MP3Audio module http://www.tommysteelecanyon.com/media/v/music/lovecountrymusic/After+Another+Day.mp3.html This second URL shows a web page that I created to test the E2 XML Audio/Video player http://www.tommysteelecanyon.com/error.html 1) In the E2 XML Audio/Video player, I do not want to have the "Open list/Close list" button. Is there a way to get rid of it? 2) How do I practically replace the MP3Audio, which is a Gallery2 module, with the E2 XML Audio/Video player, which is a embedded script, given that this script would have to be embedded into the same Gallery page, i.e. at http://www.tommysteelecanyon.com/media/v/music/lovecountrymusic/After+Another+Day.mp3.html? Do I need to put the script code into photo.tlp for the specific theme that I am using? Thank you for your help |
|

Posts: 7885
Our site is using the E2 in place of the default G2 players (both mp3audio and flashvideo)
Its pretty much a drop-in except for a slight size difference.
You need a copy of E2.swf in mp3audio/lib and flashvideo/lib
Any of the external variables I provide can be used.
The list button will not show unless you provide an xmlUrl indicating a rss feed.
But this discussion should be on mysite.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 26
Hello,
I have copied E2.swf in mp3audio/lib and have also copied the MP3AudioRenderer.class that you provided in renderer.zip in mp3audio/classes.
The following link shows that I get a message that says "Javascript required to view this content"
http://www.tommysteelecanyon.com/media/v/music/lovecountrymusic/After+Another+Day.mp3.html
I am 100% sure Javascript is enabled in my Firefox browser.
1) Why isn't E2 showing?
2) What am I supposed to do with mediaRSS.php?
3) How do I pass on external variables? Where do I put them? In the description of the item? Summary?
Thank you for your help
Posts: 7885
you also need a copy of swfObject in mp3audio/lib
not applicable in this situation.
if you read through the renderer(MP3AudioRenderer.class), you will see comments for adding external variables for changing color and others...
any of the available external variables can be applied.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 26
Hello
I have downloaded swfObject from the link you provided above and extracted the zip file onto my hard drive. That created a directory named swfobject1-5.
In that directory, There was a file named swfobject.js which I FTP'ed under mp3audio/lib. I FTP'ed only that file and nothing else
It is now working except for one little problem
When I play the song once until the end, the player goes back to the beginning of the song as is depicted by the horizontal cursor. The problem is that if I hit the "Play" button again, it does not play.
Why isn't the "PLAY" button working the second time I play the song? What am I doing wrong?
http://www.tommysteelecanyon.com/media/main.php?g2_itemId=2378
Thank you for your time.
Posts: 7885
You are not doing anything wrong. This is a release candidate, and you've found a bug.
I have not gotten much feedback so far, so I was readying the final release. But you've found an easily fixable bug which I'll nip this weekend.
But you'll notice if you right-click -> replay it works fine.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 26
WOW! I am kind of proud that I found a bug
Yay!
Is the bug in:
1) E2.swf?
2) swfobject.js
or
3) MP3AudioRenderer.class?
Could you please send me the corrected file(s) once you have fixed it? I would really appreciate that.
Thank you for your help and hard work!
Christian
PS: Yes I did notice that if I right click -> Replay, it plays again.