Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-10-2009, 05:01 AM   PM User | #1
san_crazy
Regular Coder

 
Join Date: Sep 2008
Posts: 116
Thanks: 2
Thanked 0 Times in 0 Posts
san_crazy is an unknown quantity at this point
how to prompt user to download the flash player?

I have embed an flash movie in webpage using <object> tag as:

Code:
    <object   
              classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
              id="flash_movie"
              width="849" height="133"
              codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"          

              <param name="movie" value="flash_movie.swf">
              <param name="bgcolor" value="#DEC0A0">
              <param name="quality" value="high">       
              <param name="allowscriptaccess" value="samedomain">

              <param name="allowscriptaccess" value="samedomain">
              <embed
                 type="application/x-shockwave-flash"
                  
                 pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"

                 name="flash_movie"
                 width="849" height="133"
                 src="/external/css/flash_movie.swf"
                 bgcolor="#DEC0A0"
                 quality="high"       
                 allowscriptaccess="samedomain"
          
              </embed> 
            </object>


this flash movie will be played automatically if client's browser does have flash player installed. but what if he doesn't?
how can I prompt user to install the flash player when he visit my site first time?

Last edited by san_crazy; 04-10-2009 at 06:32 AM..
san_crazy is offline   Reply With Quote
Old 04-10-2009, 06:30 AM   PM User | #2
san_crazy
Regular Coder

 
Join Date: Sep 2008
Posts: 116
Thanks: 2
Thanked 0 Times in 0 Posts
san_crazy is an unknown quantity at this point
here is the link where i have uploaded my site to test

www.stripathi.110mb.com

the flash content is being played in firefox 3.0 but neither it being played in IE7.0 and google chrome nor any prompt for user to download the latest version
san_crazy is offline   Reply With Quote
Old 04-10-2009, 06:43 AM   PM User | #3
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
You need to use something like SWF Object 2.0 which has an express install feature that prompts the user to install the latest version of flash. Your code does no detection of which flash version the user has which is why it doesn't "prompt" them.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 04-10-2009, 08:02 AM   PM User | #4
san_crazy
Regular Coder

 
Join Date: Sep 2008
Posts: 116
Thanks: 2
Thanked 0 Times in 0 Posts
san_crazy is an unknown quantity at this point
i have done everything, it still doesn't work

please recheck the homepage of my website
san_crazy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:44 PM.


Advertisement
Log in to turn off these ads.