|
Post by blackwhite on May 15, 2015 6:46:17 GMT
I have numerous albums on my site each with 12 or so songs. It is too much to add the audio player for each song. I want to be able to click on a link that opens up an audio player such as "E-Phonic MP3 Player" with a playlist of all songs on that album which the visitor can play.
I downloaded the "E-Phonic MP3 Player", read their documentation and tried very hard to figure out how to implement this in Antenna but I am very confused. I tried pop up, flash, and visual html, but I don't understand where I'm failing.
Can anyone point me in the right direction?
-I'm not even sure how to implement the audio player in antenna as a pop up rather than an object.
Thanks
|
|
|
Post by Graham on May 15, 2015 6:53:49 GMT
Hi blackwhite. Unless you embed a player into your site I think if a visitor clicks a song it will use their default player on their pc
Graham
Sent from my SM-N9005 using proboards
|
|
|
Post by Frank on May 15, 2015 11:03:11 GMT
From what I see you need to add all the downloaded files like js folder, mp3 folder, and skin folder to the root. Open the playlist.xml and add your music to it as per their examples.
Then open a visual.html in Antenna: add this to the head tab: <script src='js/swfobject.js' type='text/javascript'></script> then add this to the body tab: <object id="ep_player1" type="application/x-shockwave-flash" data="ep_player.swf" width="400" height="300"> <param name="movie" value="ep_player.swf" /> <param name="flashvars" value="playlist=playlist.xml&skin=skins/basic_silver/skin.xml&key=REGISTRATIONKEY"> <span>To view the <a href="http://www.epplayer.com/" target="_blank">Flash MP3 Player</a> please update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a>.</span> </object>
Hope something here helps. Never use audio,
Cheers, Frank
PS: Coffeecup products are normally vey easy to work with.http://www.coffeecup.com/web-jukebox/ again its all brought in via visual.html
|
|
|
Post by blackwhite on May 16, 2015 5:53:28 GMT
Thanks Frank. I think you combined the SWFObject method and the object method that the documentation suggests. I don't think the object method has anything in the head section. Nevertheless, I tried both but still can't get this to work. I understand the playlist.xml, but it's all the other parameters and addresses I don't know what to modify or where to put all the files. I'm not sure which I should pick, the object or the SWFobject method.
When you say the "root" in an Antenna site, what do you mean? Do you mean I should import these files into Antenna (and then I don't know how to address them in the visual html) or is the "root" the same directory that my .ata file resides?
I'm sure I'm not properly modifying some parameter or address in order for the player to load it's skin. I'll look into the coffee cup suggestion. Maybe their documentation makes more sense.
|
|
|
Post by Graham on May 16, 2015 5:58:07 GMT
|
|
|
Post by blackwhite on May 16, 2015 6:15:37 GMT
I tried the coffee cup player but again, I don't know where to put the files for use in Antenna. The documentation is for uploading to a site which makes sense, but in Antenna I'm not dealing with typical html and folders prior to publishing.
According to Coffee cup I added this code in Antenna: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="288" height="241" id="CC3286759" align="middle"> <param name="movie" value="myjukebox.swf"/> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <embed src="myjukebox.swf" quality="high" bgcolor="#ffffff" width="288" height="241" name="CoffeeCup" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
This is mostly Greek to me but I don't even see any address pointing to the necessary files to skin the player.
|
|
|
Post by blackwhite on May 16, 2015 6:46:54 GMT
Wow! I managed to get the Coffee Cup player to work by importing all the files into Antenna in one folder and then dragging the .swf file onto the page and Antenna created a flash object with the songs loaded. No visual HTML. It's nice that it worked but I wish I understood better why it worked.
I tried to duplicate it with the ep player but it still would not load the skin or the mp3 file. -just a blank flash object.
|
|
|
Post by Graham on May 16, 2015 6:49:04 GMT
Sometimes you don't see the working results until you either preview or upload the site
Graham
Sent from my SM-N9005 using proboards
|
|
|
Post by Frank on May 16, 2015 11:09:00 GMT
|
|
|
Post by Frank on May 16, 2015 13:15:07 GMT
Blackwhite, I downloaded the coffeecup to test as well. Follow the software instruct add the mp3 and upload to your desktop.
Now: Bring in all the files generated by coffeecup into antenna, except the myjukebox.html bring in: myjukebox_files folder (and all its content) myjukebox.swf myjukebox.xml
The software generates something similar to this...
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="288" height="241" id="CC9821743" align="middle"> <param name="movie" value="myjukebox.swf"/> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <embed src="myjukebox.swf" quality="high" bgcolor="#ffffff" width="288" height="241" name="CoffeeCup" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
copy all of the code to your clipboard and in Antenna open a VISUAL.HTM and paste it into the BODY tab.
Resize the visual box to allow it all to fit (see size in code: may sample above reads, width="288" height="241")...preview. It works perfectly.
The original player you wanted works exactly the same its just not as user friendly as the coffeecup player.
Good luck,
Frank
|
|
|
Post by Frank on May 16, 2015 14:04:23 GMT
|
|
|
Post by blackwhite on May 24, 2015 3:47:28 GMT
So much help, thanks. Sorry, I've been away from my computer for a number of days so I need to get my head back into this. Is the method that I mentioned above of dragging the Coffee Cup generated .swf file into Antenna to create a flash object not the best way to do this? What is the advantage of the visual html method over the flash object?
The coffeecup.ata was very helpful in understanding where everything goes, thanks, but could you answer the above question as to which method is best?
Yes I did try what you suggested Frank with the ep-player but I was confused as to what you meant by "add all the downloaded files"..."to the "root". What is the "root"?
|
|
|
Post by Graham on May 24, 2015 3:53:09 GMT
basically the coffeecup one is a flash object. If using the visual html object in Antenna is all code where you copy and paste in the actual html code or javascript code
The root of you website is where all your htm pages, folders are. So if you open your site in Antenna what you see is the root of the site which is a quick overview of what pages and folders are there.
Graham
|
|
|
Post by blackwhite on May 24, 2015 5:10:19 GMT
Well I successfully loaded the coffeecup player in both the visual html object method and the flash object method that I bumbled into. They both function identically in every preview I try (on the same page). So it begs the question, which one is best practice? or most robust?
Sorry Graham, what does this sentence mean in your last post? "If using the visual html object in Antenna is all cod where you copy and paste in the actual html code or javascript code"
|
|
|
Post by Graham on May 24, 2015 7:47:34 GMT
basically in the visual html you insert all code in there and nothing else.
As for which version to use I don't think there is any right or wrong one. Personally I would most likely use the flash one myself
Graham
|
|