The GFY FLASH overlay ( ie7 problems)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SmokeyTheBear
    ►SouthOfHeaven
    • Jun 2004
    • 28609

    #1

    The GFY FLASH overlay ( ie7 problems)

    when you go to close the flash overlay it tells you in ie7 your trying to close the browser window

    and p.s. there a way around the "click to activate this control) in ie7 you should use it , notice how the banners dont have that ..
    hatisblack at yahoo.com
  • Scott McD
    Too lazy to set a custom title
    • Nov 2002
    • 67792

    #2
    Originally posted by SmokeyTheBear
    when you go to close the flash overlay it tells you in ie7 your trying to close the browser window
    Yeah noticed this 2mins ago...


    I Buy My High Quality Traffic Here, You Should Too!

    Comment

    • Waveu6410
      Confirmed User
      • Jan 2005
      • 4038

      #3
      That's the first problem I've heard about with IE7. Since I started using it 2 weeks ago I feel it's the best browser out yet.

      Comment

      • SmokeyTheBear
        ►SouthOfHeaven
        • Jun 2004
        • 28609

        #4
        i dont think its an ie7 problem its a flash designers problem
        hatisblack at yahoo.com

        Comment

        • Fucksakes
          Shit... Fuck! What the Hell?
          • Dec 2003
          • 7567

          #5
          how do you get rid of that click to activate this control? i got the same shit on my site now, and its annoying.

          Comment

          • SmokeyTheBear
            ►SouthOfHeaven
            • Jun 2004
            • 28609

            #6
            Originally posted by Fucksakes
            how do you get rid of that click to activate this control? i got the same shit on my site now, and its annoying.
            use document.write in a script not on the page..

            like if you had <object src=file.wmv><param blah></object>

            you would do <script src=blah.js></script> then in blah.js do

            document.write('<object src=blah etc etc ></object>');
            hatisblack at yahoo.com

            Comment

            • Fucksakes
              Shit... Fuck! What the Hell?
              • Dec 2003
              • 7567

              #7
              thanks smokey

              Comment

              • SmokeyTheBear
                ►SouthOfHeaven
                • Jun 2004
                • 28609

                #8
                heres a loader for most movie types so you dont have to make a seperate js file for every movie works in both firefox and ie

                save this as movie.js

                Code:
                function iemov( WIDTH, HEIGHT, URL)
                {
                document.write('<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" width="' + WIDTH + '" height="' + HEIGHT + '">');
                document.write('<param name="URL" value="' + URL + '">');
                document.write('<param name="autoStart" value="true">');
                document.write('<PARAM NAME="invokeurls" VALUE="true">');
                document.write('<PARAM NAME="stretchToFit" VALUE="true">');
                document.write('<PARAM name="uiMode" value="mini">');
                document.write('<PARAM name="PlayCount" value="9999">');
                document.write('<param name="background-color" value="white">');
                document.write('<param name="ShowStatusBar" value="0"></object>');
                
                }
                function ffmov( WIDTH, HEIGHT, URL)
                {
                document.write('<object data="' + URL + '" type="video/x-ms" width="' + WIDTH + '" height="' + HEIGHT + '">');
                document.write('<param name="src" value="' + URL + '">');
                document.write('<PARAM name="uiMode" value="full">');
                document.write('<PARAM name="PlayCount" value="9999">');
                document.write('<param name="autoStart" value="true"></object>');
                
                }
                change the params how you see fit


                then to load movies into it just call it like this
                first put <script src=movie.js></script> in your head then to call movies do this

                Code:
                <script>
                var browser_type=navigator.appName
                var browser_version=parseInt(navigator.appVersion)
                if (browser_type=="Microsoft Internet Explorer"&&browser_version>=4){
                     iemov( "684", "495", "http://file.com/file.wmv")
                  }
                else {
                ffmov( "684", "495", "http://file.com/file.wmv");
                } </script>
                hatisblack at yahoo.com

                Comment

                • SmokeyTheBear
                  ►SouthOfHeaven
                  • Jun 2004
                  • 28609

                  #9
                  basically it just detects if your using firefox or ie then picks whatever routine is applicable and embeds the video..

                  saves you on code too
                  hatisblack at yahoo.com

                  Comment

                  • SmokeyTheBear
                    ►SouthOfHeaven
                    • Jun 2004
                    • 28609

                    #10
                    if you want to use flash with it just modify the params inside the movie.js to whatever code your using now and call it the same way
                    hatisblack at yahoo.com

                    Comment

                    • High Plains Drifter
                      Confirmed User
                      • Jun 2005
                      • 2341

                      #11
                      Originally posted by SmokeyTheBear
                      basically it just detects if your using firefox or ie then picks whatever routine is applicable and embeds the video..

                      saves you on code too
                      You could save some more code by putting the browser check in movie.js

                      Comment

                      • Mutt
                        Too lazy to set a custom title
                        • Sep 2002
                        • 34431

                        #12
                        i've been doing it with seperate javascript files and was hoping i'd figure out how to do multiple Flash movies on one page with just on js file. now if yours' works i have it

                        thanks Smokey
                        I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!

                        Comment

                        • marketsmart
                          HOMICIDAL TROLL KILLER
                          • Dec 2004
                          • 20419

                          #13
                          strange, im not using ie7 yet tho...

                          Comment

                          Working...