linking to a .wmv file on ff would try to open the file... ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gandalfuy
    Confirmed User
    • Jun 2005
    • 4686

    #1

    linking to a .wmv file on ff would try to open the file... ?

    anyone has have this problem before:

    http://www.notlove.com/cashfornuts/f...free-vid-3.wmv

    try to press the back button, otherwise it might collapse

    aLe.-
    I'm not back.
  • Vick!
    Confirmed User
    • Nov 2005
    • 6882

    #2
    Originally posted by gandalfuy
    anyone has have this problem before:

    http://www.notlove.com/cashfornuts/f...free-vid-3.wmv

    try to press the back button, otherwise it might collapse

    aLe.-
    I don't know if I understood your question right but it depends on FF settings that how it treats that specific extension. your's might trying to open .wmv in windows media player .. if you wanna download right click on the link and choose "Save Link As..."

    I am not sure if you can find these setting somewhere in options .. but a box surely pops-up when you try to download some (new type of) file .. and there you can set the how FF should deal .wmv and other extensions.
    Affordable Quality Web Hosting

    Comment

    • gandalfuy
      Confirmed User
      • Jun 2005
      • 4686

      #3
      Originally posted by Vick!
      I don't know if I understood your question right but it depends on FF settings that how it treats that specific extension. your's might trying to open .wmv in windows media player .. if you wanna download right click on the link and choose "Save Link As..."

      I am not sure if you can find these setting somewhere in options .. but a box surely pops-up when you try to download some (new type of) file .. and there you can set the how FF should deal .wmv and other extensions.
      thanks for your help.
      anyways, i know i can download files by using the right click dude... even know how to change the preferences on ff so it wont do it but the issue here is to set this up for the members sections of my paysites.

      i have try it on different ff versions and still would try to open the file instead of download it so i guess somebody else should have had this problem before.

      anyone else?
      I'm not back.

      Comment

      • Vick!
        Confirmed User
        • Nov 2005
        • 6882

        #4
        Originally posted by gandalfuy
        ...but the issue here is to set this up for the members sections of my paysites.

        i have try it on different ff versions and still would try to open the file instead of download it so i guess somebody else should have had this problem before.

        anyone else?
        Do you want that your visitor's FF should download the file instead of trying to open in windows media player?
        Affordable Quality Web Hosting

        Comment

        • gandalfuy
          Confirmed User
          • Jun 2005
          • 4686

          #5
          Originally posted by Vick!
          Do you want that your visitor's FF should download the file instead of trying to open in windows media player?
          it does not open the file on a player, it just open the file on HTML, making a great mess. did u try the link i post above?

          thanks again,
          aLe.-
          I'm not back.

          Comment

          • react
            Confirmed User
            • Sep 2003
            • 673

            #6
            Fix the mime types on your server.
            --
            react

            Comment

            • rowan
              Too lazy to set a custom title
              • Mar 2002
              • 17393

              #7
              Originally posted by react
              Fix the mime types on your server.
              Yep, your server is returning this for the WMV file:

              Content-Type: text/plain; charset=UTF-8

              IE ignores this and recognises the WMV, Firefox is doing the right thing and believing what the server tells it.

              Comment

              • wdforty
                Confirmed User
                • Aug 2004
                • 1824

                #8
                Add this to your .htaccess file.

                AddType video/x-ms-wmv .wmv

                Should work.
                icq 157542142

                Comment

                • SmokeyTheBear
                  ►SouthOfHeaven
                  • Jun 2004
                  • 28609

                  #9
                  Originally posted by rowan
                  IE ignores this and recognises the WMV, Firefox is doing the right thing and believing what the server tells it.
                  thats one way to look at it.

                  or

                  ie checks to see what a file actually is before displaying it, firefox is easily triicked into displaying context in an incorrect format leading to security vulnerabilities
                  hatisblack at yahoo.com

                  Comment

                  • gandalfuy
                    Confirmed User
                    • Jun 2005
                    • 4686

                    #10
                    Originally posted by wdforty
                    Add this to your .htaccess file.

                    AddType video/x-ms-wmv .wmv

                    Should work.
                    Thanks wdforty
                    i create an .htaccess on the directory where the content is.
                    it does not show the ugly characters while loading now, but still does not download it.
                    I'm not back.

                    Comment

                    • gandalfuy
                      Confirmed User
                      • Jun 2005
                      • 4686

                      #11
                      Originally posted by rowan
                      Yep, your server is returning this for the WMV file:

                      Content-Type: text/plain; charset=UTF-8

                      IE ignores this and recognises the WMV, Firefox is doing the right thing and believing what the server tells it.
                      i have this on the page where the video links are:
                      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

                      what should i change that for?

                      thanks again,
                      aLe.-
                      I'm not back.

                      Comment

                      • wdforty
                        Confirmed User
                        • Aug 2004
                        • 1824

                        #12
                        What does it do? It should come up with a prompt to open/save.
                        icq 157542142

                        Comment

                        • gandalfuy
                          Confirmed User
                          • Jun 2005
                          • 4686

                          #13
                          Originally posted by react
                          Fix the mime types on your server.
                          solved

                          thank you very much guys,

                          i add the wmv extension to the mime type:
                          application/octet-stream
                          on /etc/mime.types
                          and worked perfectly

                          I'm not back.

                          Comment

                          • gandalfuy
                            Confirmed User
                            • Jun 2005
                            • 4686

                            #14
                            Originally posted by wdforty
                            What does it do? It should come up with a prompt to open/save.
                            no, it did not show the ugly characters while loading but steel... it was opening the file instead of downloading it.
                            I'm not back.

                            Comment

                            Working...