using flash with apache

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chunk1978
    New Member
    • Jan 2007
    • 224

    using flash with apache

    hi everyone,

    i'm using apache 1.3 on Mac OS X and i'm trying to enable apache to work with flash. the mime types are set in the httpd.conf file like this:

    Code:
        #
        # AddType allows you to tweak mime.types without actually editing it, or to
        # make certain files to be certain types.
        #
        AddType application/x-tar .tgz
        AddType application/x-shockwave-flash	swf
        AddType application/futuresplash	spl
    but it seems that my flash movies stall at the intro loading bar... the only way to play them is to right-click on the movie and click "play"... only after that will the loading bar start to move (if the preloader hasn't finished loading yet). Tthe movie does preload, but it doesn't display the preloader, nor will it start on its own even after the preloader finishes loading (still have to click play regardless)...

    this happens in both Safari 2.0 and Firefox.

    any ideas?
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Originally posted by chunk1978
    hi everyone,

    i'm using apache 1.3 on Mac OS X and i'm trying to enable apache to work with flash. the mime types are set in the httpd.conf file like this:

    Code:
        #
        # AddType allows you to tweak mime.types without actually editing it, or to
        # make certain files to be certain types.
        #
        AddType application/x-tar .tgz
        AddType application/x-shockwave-flash	swf
        AddType application/futuresplash	spl
    but it seems that my flash movies stall at the intro loading bar... the only way to play them is to right-click on the movie and click "play"... only after that will the loading bar start to move (if the preloader hasn't finished loading yet). Tthe movie does preload, but it doesn't display the preloader, nor will it start on its own even after the preloader finishes loading (still have to click play regardless)...

    this happens in both Safari 2.0 and Firefox.

    any ideas?
    It sounds like your preloader isn't correctly calling the next stage.

    Comment

    • chunk1978
      New Member
      • Jan 2007
      • 224

      #3
      Originally posted by Motoma
      It sounds like your preloader isn't correctly calling the next stage.
      my preloaders work with online servers, just not with apache

      Comment

      • Motoma
        Recognized Expert Specialist
        • Jan 2007
        • 3236

        #4
        Originally posted by chunk1978
        my preloaders work with online servers, just not with apache
        Do you have a URL that I could test out?

        Comment

        • chunk1978
          New Member
          • Jan 2007
          • 224

          #5
          Originally posted by Motoma
          Do you have a URL that I could test out?
          humm... i tested my other movie that was on the web already and that worked fine in my apache setup... so there must be some error (???) with the other movies preloader... but i have no idea what it could be since they have almost the same preloader

          Comment

          • Motoma
            Recognized Expert Specialist
            • Jan 2007
            • 3236

            #6
            Well, I guess this has reached the end of my expertise, I would be amazed if this was a problem with Apache, as I have never encountered this.
            If the Movie Clip doesn't start, and the preloader doesn't bring you to the next stage, then I would be inclined to say that this is a flash problem.
            Sorry I couldn't be more help.

            Comment

            • chunk1978
              New Member
              • Jan 2007
              • 224

              #7
              Originally posted by Motoma
              Well, I guess this has reached the end of my expertise, I would be amazed if this was a problem with Apache, as I have never encountered this.
              If the Movie Clip doesn't start, and the preloader doesn't bring you to the next stage, then I would be inclined to say that this is a flash problem.
              Sorry I couldn't be more help.
              i'm sure it will be an easy fix... and thanks so much for suggesting i try a different flash doc in my localhost... at least now i know it's not an apache issue...

              Comment

              • zhiyanhui
                New Member
                • Aug 2011
                • 1

                #8
                I encountered the same problem today, is your apache server on gzip?, I set the swf file no-gzip, solved the problem.

                Code:
                SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|swf)$ no-gzip dont-vary

                Comment

                Working...