iWeb html snippet not working for mp3 flash players?

Joined
Apr 5, 2010
Messages
14
Reaction score
0
Points
1
Hello everyone...

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.

1.
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:
- "ftp://ftp.domainname.com/http/audio/songname.mp3"
- "http://www.domainnami.com/http/audio/songname.mp3"

Because I fill in the codes with changing the "ftp"s to "http"s

2.
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.

Thanks

MK
 
OP
weatherreport
Joined
Apr 5, 2010
Messages
14
Reaction score
0
Points
1
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:
ftp://username:[email protected]/http/audio/songname.mp3

Is this the standard or am I giving away my username and password?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
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?
 
OP
weatherreport
Joined
Apr 5, 2010
Messages
14
Reaction score
0
Points
1
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:.....
 

Attachments

  • Screen shot 2010-08-19 at 10.38.54 PM.jpg
    Screen shot 2010-08-19 at 10.38.54 PM.jpg
    145.4 KB · Views: 10
OP
weatherreport
Joined
Apr 5, 2010
Messages
14
Reaction score
0
Points
1
Problem solved!
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

MK
 
Joined
Apr 23, 2009
Messages
2
Reaction score
0
Points
1
Your Mac's Specs
15 Inch MacBook Pro - 2.4 Ghz - 2GB Ram - 200GB HD - Matte Screen
Going Crazy!

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.

Picture 1.png
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top