Results 1 to 4 of 4

Thread: HTML file doesn't play the embedded SWF file

  1. #1
    Join Date
    Oct 2008
    Posts
    42

    HTML file doesn't play the embedded SWF file

    Hello,

    I have a few pages with .swf movie files embedded in the .html , But whenever open that HTML files it just hangs on loading and wont load. I'm sure its a simple fix but I cant seem to figure it out.

    Thanks for any help

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    Re: HTML file doesn't play the embedded SWF file

    a) try using absolute paths, just so you can see if the thing works

    b) is it perhaps that relative filenames should be relative to the html file and not the swf?

    I am only learning now myself but I hope this will be useful.

  3. #3
    Join Date
    Mar 2008
    Posts
    198

    Re: HTML file doesn't play the embedded SWF file

    It doesn't sound like the problem has anything to do with Flash, but rather that your web server recognizes .html files as web pages but not .htm files. It's unusual that .htm would not be set properly, but it does match the behavior you describe.

    If the web server does not indicate the MIME type, or says that it is unknown, Internet Explorer on Windows tries to guess the type based on the first few bytes of the document, whereas Firefox forces you to save the page. the former is arguably more user-friendly, but the latter is definitely more secure.

    Check with your server administrator to see if the MIME type for .htm is set to text/html, or if you use Apache, add the line

    AddType text/html .html .htm

    to the .htaccess file in your web root directory.

  4. #4
    Join Date
    Dec 2008
    Posts
    1,108

    Re: HTML file doesn't play the embedded SWF file

    The difference between stupidity and genius is that genius has its limits. - Albert Einstein

    What we think, we become (Please don't think you are a superhero and don't try to fly)

    "SUCCESS IS NOT A DESTINATION , IT'S A JOURNEY"

Similar Threads

  1. Replies: 5
    Last Post: 03-03-2011, 11:30 PM
  2. Embedded WMV file is not firing the PlayState Event
    By Hahtalekin in forum Windows Software
    Replies: 3
    Last Post: 08-02-2011, 08:19 PM
  3. How can I play a sound file from a Windows batch file?
    By Linoo in forum Operating Systems
    Replies: 4
    Last Post: 27-03-2010, 07:20 PM
  4. How to add vob file embedded with player in HTML webpage?
    By Arlo in forum Software Development
    Replies: 2
    Last Post: 04-06-2009, 02:06 PM
  5. .MPG file won't play - AC3 codec doesn't work
    By MWAKA in forum MediaCenter
    Replies: 2
    Last Post: 30-11-2007, 04:21 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,542,137.88828 seconds with 17 queries