SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict
    Join Date
    Jul 2010
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flash Detection Code

    Good day!

    I have an intranet website that was in the server and it has a flash. My problem is the client computer has no flash installer; I want that they can access the flash.exe in the server so they can install it to their computer. I read some forum that it could happen using JavaScript detection code. Honestly I have no idea about it.
    Thank you

  2. #2
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,015
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    If the client computer doesn't have flash installed you cannot force the install. You can suggest it, but they can decline. These days if the client doesn't have flash there's a reason. Also your site is DOA on iPhones and iPads - they don't support Flash.

  3. #3
    SitePoint Addict
    Join Date
    Jul 2010
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Michael Morris View Post
    If the client computer doesn't have flash installed you cannot force the install. You can suggest it, but they can decline. These days if the client doesn't have flash there's a reason. Also your site is DOA on iPhones and iPads - they don't support Flash.
    i want to happen is theirs a alert or pop up message and a link for the flash installer

  4. #4
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,015
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    The browser does that on it's own as long as you have the right plug in code on the object tag.

  5. #5
    SitePoint Addict
    Join Date
    Jul 2010
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Michael Morris View Post
    The browser does that on it's own as long as you have the right plug in code on the object tag.


    Is it I also need to installed the flash player in my server?Is it i need to have a flash plugin?All I want is if the client browse my website theres alert telling them that they need to installe flash player to view the flsp contnet on my website with also I want to provide Link for the installer from the server.

  6. #6
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    You don't need flash installed on your server. You just put the source in. When browsers run the page, and hits the code in the <object> tag, the browser checks for flash. You can include a link like
    HTML Code:
    <a href="http://get.adobe.com/flashplayer/">Download Flash</a>
    on your page, but the browser should automatically ask.
    Ryan B | My Blog | Twitter

  7. #7
    SitePoint Addict
    Join Date
    Jul 2010
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rguy84 View Post
    You don't need flash installed on your server. You just put the source in. When browsers run the page, and hits the code in the <object> tag, the browser checks for flash. You can include a link like
    HTML Code:
    <a href="http://get.adobe.com/flashplayer/">Download Flash</a>
    on your page, but the browser should automatically ask.
    Good day!
    I run my intranet website in IE8 without internet connection. I uninstalled my Adobe Flash Player Installer 10.1 which is located in my documents to test if I used the swfobject for the auto install of flash player. As I’ve said on my past thread that I want to happen is the client got a popup message to tell them that they need to install flash player and follow the link where the installer found. Honestly, I did not totally understand what is the use of swfobject why I need it to solve my problems?
    Here is my code:
    Code:
    <script type="text/javascript" src="swfobject.js"></script>
    
    <div id="Products_Gallery">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="450" height="375" id="Products_Gallery">
        <param name="movie" value="PRODUCTS_GALLERY.swf?variable=varvalue" />
        <param name="quality" value="high" />
    	<param name="wmode" value="transparent"/>
        <embed src="PRODUCTS_GALLERY.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="375" wmode="transparent"></embed>
      </object>
    </div>
    <script type="text/javascript">
    	var so = new SWFObject("PRODUCTS_GALLERY.swf", "Products_Gallery", "450", "375");
    	so.addVariable("variable", "varvalue");
    	so.write("Products_Gallery");
    </script>
    And I encountered error:
    ‘SWFObject’ is undefined.


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
  •