logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache not loading Flash
Author
Matternor



Joined: 29 May 2006
Posts: 19
Location: Chicago

PostPosted: Sun 01 Oct '06 3:23    Post subject: Apache not loading Flash Reply with quote

After almost a year break, along with having an active webserver (apache 2.0 on windows xp home) to display content, I've started playing around with Flash again. I have added the 2 MIME types that I have read which Apache requires (application/x-shockwave-flash , application/x-futuresplash) along with using the embed object directly on the document. The flash document itself is set inside my index page (index.php).

If I access the page directly, flash properly displays. However, if I open it with Internet explorer via Apache (http://localhost), it does not display the movie (IE displays a loading bar while firefox just loads the page without any loading bar). If I right click on the area where the flash should be displaying at, I get the typical menu 'about macromedia flash x'. It appears to me that a placeholder is being created for Flash, but something is stopping the movie from playing.

I've found a couple of posts on the web with people who have the same problem, and the answer to all of them has been to add the mime types. Having already done that without any luck, could there be some configuration that Apache needs in order to know how to display Flash content?

Thanks.
Back to top
sb.net



Joined: 22 Sep 2006
Posts: 120
Location: USA

PostPosted: Sun 01 Oct '06 3:41    Post subject: Reply with quote

I have the same problem. but with MP3s.
Back to top
Matternor



Joined: 29 May 2006
Posts: 19
Location: Chicago

PostPosted: Sun 01 Oct '06 8:28    Post subject: Reply with quote

update: Instead of doing an AddType to the httpd file, I directly changed the MIME file. I don't know if this had any effect. But now, I can get the flash file to play *if* I directly type it into my browser (i.e. http://localhost/first_flash_sep06.swf). This is on both Internet Explorer and Firefox. The problem now lies in being able to get the webpage to play flash that is embedded in it.

Something interesting that I noticed is when I check the page info on firefox, it gives a specified dimension of 0x0 and states that the flash document is not cached.

Another Update: Okay, I got it to work.

Reminder: *always* check the error log. After getting the flash to work by directly accessing it, I checked and remembered that Apache treats source links as if they start in the htdocs file. Dumb error, but at least my problem is solved.

Solution: I think the solution to the problem is to directly edit the MIME file instead of the httpd file. In the MIME file, type in application/x-shockwave-flash swf , application/x-futuresplash spl . Restart the Apache server, and make sure that the webpage has the right source links. Very Happy
Back to top


Reply to topic   Topic: Apache not loading Flash View previous topic :: View next topic
Post new topic   Forum Index -> Apache