Why isn't my Google Flash Player Script working?

Asked by:
Royce / 8 Points
Time:
2011-08-04 8:54 pm EST
Category:
How To
Hits:
4,200
The script seems to work fine - the control appears on the web page. But can't get to the MP3 file.

I also can't open the MP3 file in a browser. I've tried multiple locations... no go.

What am I missing. Am I not putting in the correct URL to the file? I checked MAPI and mp3 is already included.

Help!

Thanks very much,
Royce

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff

0

KevinW
591 Points
2011-08-04 9:55 pm EST
Hello Royce,

I added the Google Flash MP3 Player to a test website without any issues, so I wanted to check and make sure that we went through the same steps.

First of all, this was the code I used since it was designed for MP3 usage:

<div class='code_block'>&lt;embed type="application/x-shockwave-flash" flashvars="audioUrl=MP3_FILE_URL" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="400" height="27" quality="best"&gt;&lt;/embed&gt;</div>

I then uploaded a file onto my server in the web root (public_html) called test.mp3 so the code looked like this:

<div class='code_block'>&lt;embed type="application/x-shockwave-flash" flashvars="audioUrl=test.mp3" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="400" height="27" quality="best"&gt;&lt;/embed&gt;</div>

... and the player was able to play the file.

<strong>A few things to check:</strong>

<strong>case sensitivity:</strong>
First, linux servers are case sensitive so make sure that the location of the mp3 is the same case as the file that you uploaded. For example if the file is AudioBook.mp3 make sure in the code that the "A" and "B" are also capitalized.

<strong>file location:</strong>
If you have the mp3 in a folder, then instead of just test.mp3, it would be nameoffolder/test.mp3 as it must be the full path to the audio file.

If you still can't get it to work, if you can provide the page you have it on I'd be happy to look into it further!

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}