08-21-2010, 07:22 AM #1iWeb html snippet not working for mp3 flash players?
I've been working and googling on some problem for hours that made me nuts
I hope someone can help.
I am about to publish a web site on iWeb09. I wanted to embed a flash player for my own made mp3's by html snippet. Here is the site I've got the code and how-to's from:
How to build a flash music player for your website.
I'm pretty sure I do everything correct, (putting the swf player files and the song in the same directory, all named lowercase etc.) but the site always gets published without the flash player. (or the mp3 file)
In iWeb interface I only see the outlines of a transparent object where the player has to be.
I have 2 questions.
The mp3 songs live in my own name domain.
Let's say "ftp.myname.com/http/audio.songname.mp3"
I connect to the file via FileZilla and copy the directory.
The pathway is copied to clipboard starting with "ftp/"
But link to the file in the code starts with "http:"
So are these two the same:
Because I fill in the codes with changing the "ftp"s to "http"s
The site goes online. But the html snippets don't work.
Is it maybe the ftp permissions that won't let the mp3 objects be seen online?
Or maybe you may have other suggestions for what I might be doing wrong.
Any help would really be appreciated.
08-21-2010, 10:28 AM #2
Btw, I've found a way to make songs appear online, but that might be risky.
In Firefox's FireFTP, when you go to the mp3 file and right click, it allows you to copy the URL with the option "ftp with login".
So that the URL which I would like to add to code would be like:
Is this the standard or am I giving away my username and password?
08-21-2010, 11:40 AM #3
Don't include your username and password - a quick look at the source of your page will reveal your username and password if someone was to take a look.
First things first (let's start easy) - can you link to the file ok? In other words, can you put a link on your page to the mp3 and have it link properly?
08-21-2010, 02:21 PM #4
Nope! I can only link the file from ftp.
I've attached a Cyberduck screenshot of how I've used the domain.
Right clicking on the file to "copy the url" gives me only the ftp location of the file. And putting ftp adress on the code either asks for password to enter the ftp or doesnot work at all.
I could not seem to find a way to copy the url, starting with http:.....
08-22-2010, 03:52 AM #5
I've figured out that my problem is from my lack of knowledge of dealing with ftp directories.
I have published my site on the http directory and copied url's as: "sitename.com/http/audio..."
So the http directory became the root. (I guess)
Anyway, linking the url's as "sitename.com/audio..." made the codes work.
Now everything work like a charm.
Thanks and cheers
08-29-2010, 03:36 AM #6
- Member Since
- Apr 23, 2009
- 15 Inch MacBook Pro - 2.4 Ghz - 2GB Ram - 200GB HD - Matte Screen
Okay I had the same issues as you. I went through and made the changes you did and everything displayed correctly! BUT when I go to look at the Flash MP3 Player I made online. It only shows the player.. and it just says, "Loading..."
In Safari I hit Opt+CMD+A to look at all the activity in the browser. And on the iWeb widget it says "2 Errors." I will just attach the picture to this reply. Can you guys help me here? I have been trying to figure this out for 4 hours now and my eyes hurt.15 Inch MacBook Pro - 2.4 Ghz - 2GB Ram - 200GB HD - Matte Screen - iPod 5G 30GB
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By skibum232 in forum Web Design and HostingReplies: 1Last Post: 11-30-2010, 12:05 AM
By gary61071 in forum Other Hardware and PeripheralsReplies: 6Last Post: 10-26-2010, 02:34 PM
By zandrah in forum Web Design and HostingReplies: 0Last Post: 05-30-2010, 05:24 PM
By Mac5Rule in forum Web Design and HostingReplies: 3Last Post: 02-18-2010, 12:19 PM
By mac_min in forum Web Design and HostingReplies: 0Last Post: 02-11-2008, 09:17 PM