Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-09-2009, 10:48 PM   #1
Certified Audio Nut
 
Hi Ho's Avatar
 
Join Date: Jul 2003
Location: Washington State
Posts: 7,214
Send a message via MSN to Hi Ho
Error opening file...

I have been battling this problem for quite some time now and I have not found a solution. I have helped my father with his band website. I'm using Dreamweaver and everything is working fine except the audio page where I have placed sound clips from their CD.

http://runawaytrainbluegrass.com/sound_clips.html

I am using the 1PixelOut Flash Player and have followed THESE instructions.

When I open the page in Internet Explorer 8 everything works perfectly. When I open the page in Firefox 3.5 the first player doesn't show up and all of the others give me an "Error Opening File" message. I thought maybe it was the AdBlock extension but disabling that does nothing. I have attached a screenshot of the code for the first player.

What am I doing wrong?

On an unrelated note; Something that has been bugging me is the fact that the page is not centered when viewed in Firefox. Again, it is centered in IE but not Firefox and I cannot figure out why.
Attached Thumbnails
Error opening file...-capture.jpg  
__________________
"I'm not lying. I'm writing fiction with my mouth." - Homer Simpson My Miscelaneous Gallery
ASUS P7P55D PRO / Intel Core i7 860 / 8GB Mushkin DDR3 1600 RAM / OCZ Vertex 2 120GB SSD / Seagate 1TB 7200.12 / Asus Radeon 5870 1GB / LG Super-Multi 22x SATA DVD-RW / Windows 7 Home Premium 64bit / Cable Modem / HT Omega Striker 7.1 Sound Card / FSP 700W PSU / Logitech MX1000 Wireless Laser Mouse / Asus 24" 16:9 LCD w/Webcam / Axiom Audiobyte 2.1 Speakers

Last edited by Hi Ho; 08-09-2009 at 10:53 PM.
Hi Ho is offline   Reply With Quote
Old 08-10-2009, 05:45 AM   #2
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Have you tried using absolute links instead of relative ones in your parameters? For example .. right now you've got

PHP Code:
<param name="FlashVars" value="playerID=1&soundFile=sounds/Pickawaymusic.mp3"
Have you tried making it:
PHP Code:
<param name="FlashVars" value="playerID=1&soundFile=http://www.runawaytrainbluegrass.com/sounds/Pickawaymusic.mp3"
.. which by the way doesn't work... so I'm guessing it is in a different directory.

Also check:
PHP Code:
<object type="application/x-shockwave-flash" data=" ... ... ... " id="audioplayer1" height="24" width="290"
you're missing a " after data=

Re: centering .. Don't know what you're seeing .. but looks the same on FF 3.5.x and IE 8.x

Last edited by Statica; 08-10-2009 at 05:48 AM.
Statica is offline   Reply With Quote
Old 08-10-2009, 01:39 PM   #3
Certified Audio Nut
 
Hi Ho's Avatar
 
Join Date: Jul 2003
Location: Washington State
Posts: 7,214
Send a message via MSN to Hi Ho
I got the first clip working! I added that quotation mark and it now works in Firefox. The others, however, still do not work and I am not seeing anything different about the code on the subsequent players.

The reason your attempt at an absolute link did not work is because the sound file is "Pickaway.mp3" and not "Pickawaymusic.mp3".

Here is the code from the first three players:

Photobucket

As for the centering problem; IE8 now looks the same as Firefox:

RT Site Firefox 3.5

Maxthon looks like it does in Dreamweaver:

RT Site Maxthon

EDIT: Right after I posted this I found the problem! It had a backwards slash in two places where it should have been a forward slash! This is why I will never be a programmer.

As for the centering issue, I'm still puzzled.

Last edited by Hi Ho; 08-10-2009 at 01:56 PM.
Hi Ho is offline   Reply With Quote
Old 08-10-2009, 02:34 PM   #4
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
I havent written for the web in a while now .. but here's what I do know .. IE doesn't care about standards and will display any garbage that is put up there but IE 8 is better than the previous versions. My suggestion would be to run your code through a syntax checker and see what shows up. It could be something as errant as a misplaced ".
Statica is offline   Reply With Quote
Old 08-10-2009, 04:01 PM   #5
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Addendum - definitely go through your syntax .. I would guess that it's a simple mismatch. When you run IE8 through compatibility mode (as in "rickety, old IE engine) .. you see the same view as you do for Maxthon (which is just a glorified IE+wrapper) and IE7... the compatibility mode is the button to the left of the refresh button on the address bar.
http://validator.w3.org/ shows up a bunch of errors for the page .. but not all of them may be relevant. I do see some closing </td> tags missing. http://www.htmlvalidator.com/ shows a smaller number of errors .. but the nesting error is shown.

Last edited by Statica; 08-10-2009 at 04:03 PM.
Statica is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:42 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2