www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 25

Thread: Auto install flash player to the client where the flash.exe was located on server

  1. #1
    Join Date
    Aug 2010
    Posts
    212

    Auto install flash player to the client where the flash.exe was located on server

    Good day!
    I created an intranet site for the company and it is on the server, so the staff can view it. My webpage consist of flash for the viewing of images. The problem is the client who can view my webpage has no flash installer or totally no flash installed on their computer. Actually I have a flash.exe or flash installer in my server. I want to happen is when they view my webpage there is a pop up message for the auto install of flash installer and once they click automatically the flash would be installed. I mean the location of installer in the server they can catch? Is it possible?
    Honestly, I have no idea about it. I have a lot of idea and questions in my mind on how the client can have the installer through pop up or any way.
    Thank you

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Since you are using a web browser to view the Flash, there's no need to reinvent the wheel.What you really need is the Flash web browser plugin, not the Flash player.exe. So make sure you have that accessable at a certain address on your server.
    Then use "swfobject.js" to place the Flash content on your page. Be sure to include alternate content that will display if no Flash plugin is detected. That "Alt Content" should be a "Click Here to install Flash" button and a link to the installer on your server.
    If you don't want to use .js, you can also provide this alt content with html.
    You've probably seen somthing like this a dozen times:
    Code:
    < a href="http://www.adobe.com/products/flashplayer/" target="_blank" alt="Download the latest version of the Adobe Flash Player">Download the latest version of the Adobe Flash Player</a>
    So just change the address to your own installer. Is there some reason you can't just download it from Adobe?
    If you are developing this on a machine which has Flash already installed, you can turn the plugin off to test your alt content and make sure it's working. From the browser menu, Tools/Add-on and disable the Flash plugin.
    swfobject info:
    http://code.google.com/p/swfobject/
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

  3. #3
    Join Date
    Aug 2010
    Posts
    212
    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.

  4. #4
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    If you want to display Flash in a web browser, that browser needs to have the Flash Player plugin. You don't need the player on the server.
    The most common way for:
    telling them that they need to installe flash player
    is to include some method of Flash detection, so the browser can make a choice. If there is no Flash plugin do this, if there IS a Flash plugin do that.
    One of the most common methods is to use swfobject to detect the Flash plugin and use this as the alternate content:
    Code:
    <a href="http://get.adobe.com/flashplayer/" target="_blank" alt="Download the latest version of the Adobe Flash Player">Download the latest version of the Adobe Flash Player</a>
    Use this link instead of the one in my other post, there's a space in front of the< a so the link doesn't work.
    Just copy and paste this code into a blank web page and test it. The link takes you right to the Flash player page.
    Then check out swfobject for the Flash detection.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

  5. #5
    Join Date
    Aug 2010
    Posts
    212
    Quote Originally Posted by Eye for Video View Post
    If you want to display Flash in a web browser, that browser needs to have the Flash Player plugin. You don't need the player on the server.
    The most common way for:

    is to include some method of Flash detection, so the browser can make a choice. If there is no Flash plugin do this, if there IS a Flash plugin do that.
    One of the most common methods is to use swfobject to detect the Flash plugin and use this as the alternate content:
    Code:
    <a href="http://get.adobe.com/flashplayer/" target="_blank" alt="Download the latest version of the Adobe Flash Player">Download the latest version of the Adobe Flash Player</a>
    Use this link instead of the one in my other post, there's a space in front of the< a so the link doesn't work.
    Just copy and paste this code into a blank web page and test it. The link takes you right to the Flash player page.
    Then check out swfobject for the Flash detection.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

    Is it possible that when they don't have the flash installer the link that I given is the location of installer in my server not in the internet?
    Thank you

  6. #6
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Should work... test it and see.
    EfV

  7. #7
    Join Date
    Aug 2010
    Posts
    212
    Quote Originally Posted by Eye for Video View Post
    Should work... test it and see.
    EfV
    Is it work without internet connection?

  8. #8
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Have you ever installed a Flash plugin in a Web browser before? If not, I'd suggest you download FireFox or Chrome or Safari, anything that does not yet have the Flash plugin installed. Then use this link to download and install the browser plugin.
    http://get.adobe.com/flashplayer/
    Once you do the download and install, test it on some Flash content to make sure it works.
    Then you'll have some experience in how the browser plugin installation works.
    Then go ahead and set up your browser plugin installer at some location on your server that everyone can get to. You would then make THAT URL available in the alternate content link. You do not have to have a Internet connection but you will need a link to to working Flash browser plugin installer.
    Best wishes,
    EfV

  9. #9
    Join Date
    Aug 2010
    Posts
    212
    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.

  10. #10
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    You know, I’m not exactly sure what a “Adobe Flash Player Installer 10.1” is… could you elaborate?
    But if you want to display Flash in a Web browser, like IE8, you’ll need the Flash plugin, sometimes called “Add on”.
    There’s no need to uninstall anything to test Flash content in the browser, just temporarily disable that particular add on. In IE8, from the “Tools” menu, “Manage Add-ons”, find the “Shockwave Flash Object”, click on it and then at the bottom of the window, choose “Disable”. Then you can test the non-Flash content. When you want Flash turned back on, just go back and enable that add-on.
    Now onto .swfobject… swfobject is a Flash detection method, not an auto-installer. It will go thru the browser add-on list and check to see if “Shockwave Flash Object” is listed. If that add-on is not present, it instructs the browser to display some “alternate content”. If swfobject finds the “Shockwave Flash Object” in the add-on list, it simply lets the browser display the Flash content.
    It’s in that “alternate content” that you display a message like “Flash is required to view this page, CLICK HERE TO DOWNLOAD.” Just use a regular <a href="your_installer_URL/"……
    The link takes the viewer to wherever you have your “installer”.
    The problem with your code is that I don’t see the alternate content, directing the viewer to your installer URL. Also, if you are getting an error message, did you actually download the swfobject.js file and did you correctly link to that file in the page <head> something like this:
    Code:
    <script type="text/javascript" src="../swfobject.js"></script>
    Here’s an example page using an image as part of the alternate content. Part of that image is a message to download the Flash add-on.
    http://www.uncledoodad.com/08_26_10/08_26_10.html
    I’d suggest you disable the Flash add-on in your browser and view the page. Then enable Flash and refresh the page. That will illustrate what swfobject is doing. Without Flash it displays some content (message to download Flash), with Flash it displays DIFFERENT content. This is how you can display your link to the installer for browsers without Flash but the regular Flash content in browsers with the add-on already installed.
    I’m not saying that using swfobject is the only way to accomplish Flash detection, I’m just saying that it’s a proven, well accepted method being used on millions of sites already. So there’s no need to re-invent anything to accomplish what you are looking for.
    Best wishes,
    Eye for Video

  11. #11
    Join Date
    Aug 2010
    Posts
    212
    Quote Originally Posted by Eye for Video View Post
    You know, I’m not exactly sure what a “Adobe Flash Player Installer 10.1” is… could you elaborate?
    But if you want to display Flash in a Web browser, like IE8, you’ll need the Flash plugin, sometimes called “Add on”.
    There’s no need to uninstall anything to test Flash content in the browser, just temporarily disable that particular add on. In IE8, from the “Tools” menu, “Manage Add-ons”, find the “Shockwave Flash Object”, click on it and then at the bottom of the window, choose “Disable”. Then you can test the non-Flash content. When you want Flash turned back on, just go back and enable that add-on.
    Now onto .swfobject… swfobject is a Flash detection method, not an auto-installer. It will go thru the browser add-on list and check to see if “Shockwave Flash Object” is listed. If that add-on is not present, it instructs the browser to display some “alternate content”. If swfobject finds the “Shockwave Flash Object” in the add-on list, it simply lets the browser display the Flash content.
    It’s in that “alternate content” that you display a message like “Flash is required to view this page, CLICK HERE TO DOWNLOAD.” Just use a regular <a href="your_installer_URL/"……
    The link takes the viewer to wherever you have your “installer”.
    The problem with your code is that I don’t see the alternate content, directing the viewer to your installer URL. Also, if you are getting an error message, did you actually download the swfobject.js file and did you correctly link to that file in the page <head> something like this:
    Code:
    <script type="text/javascript" src="../swfobject.js"></script>
    Here’s an example page using an image as part of the alternate content. Part of that image is a message to download the Flash add-on.
    http://www.uncledoodad.com/08_26_10/08_26_10.html
    I’d suggest you disable the Flash add-on in your browser and view the page. Then enable Flash and refresh the page. That will illustrate what swfobject is doing. Without Flash it displays some content (message to download Flash), with Flash it displays DIFFERENT content. This is how you can display your link to the installer for browsers without Flash but the regular Flash content in browsers with the add-on already installed.
    I’m not saying that using swfobject is the only way to accomplish Flash detection, I’m just saying that it’s a proven, well accepted method being used on millions of sites already. So there’s no need to re-invent anything to accomplish what you are looking for.
    Best wishes,
    Eye for Video
    You mean I need to have a flash shockwave on my server?Is it installed and Is it I add it on my server?How aboput on the pc of clients?where I can put alt content code?
    If I have add on no need to have swfobject?
    flash player 10 is my installer...
    I read that if i am using windows based network then use a GROUP POLICY to install the msi file version of the Flash player to all Windows based machines on network with no interaction required from users. Is it msi is a knid of flash player?

    I try to browse the link you suggested and I found those codes:
    Code:
    <script type="text/javascript" src="../swfobject.js"></script>
    
    
    <div id="main_container"><img src="08_26_10_flash.jpg" alt="Uncle DooDad uses Flash 8 to view Live Music pages" width="1000" height="510" border="0" usemap="#Map" />
      <map name="Map">
        <area shape="rect" coords="334,151,699,238" href="http://www.adobe.com/products/flashplayer/" target="_blank" alt="Download the latest version of the Adobe Flash Player" />
      </map>
    
    <script type="text/javascript">
    		// <![CDATA[	
    		var so = new SWFObject("08_26_10.swf", "08_26_10", "1000", "510", "8", "#000000");
    		
    		so.write("main_container");		
    		// ]]>
    	</script>
    Is this code I need it?
    Last edited by rhodarose; 10-26-2010 at 09:07 PM.

  12. #12
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    You mean I need to have a flash shockwave on my server?
    NO. But if you want to display Flash in any Web browser, that browser needs to have the Flash add-on (plugin). It’s possible to have a Flash player installed on a particular machine (for playing Flash outside of a web browser) and yet NOT having the add-on installed in a particular Web browser. Do not confuse the two.
    If I have add on no need to have swfobject?
    If every browser already has Flash installed, you don’t need any Flash detection, like swfobject. But your original post was addressed to web browsers WITHOUT Flash.
    I read that if i am using windows based network then use a GROUP POLICY to install the msi file version of the Flash player to all Windows based machines on network with no interaction required from users. Is it msi is a knid of flash player?
    I really have no idea what you are talking about. If you can install the “Shockwave Flash Object” (the Flash add-on) as network admin, then go for it! That’s a lot better choice than leaving it up to the individual users.
    I try to browse the link you suggested and I found those codes:
    You still need the actual javascript file and in the <head> of your web page you need to link to that file, so that it will work. I’m using swfobject version 1.5, so depending on the version you are using, the code will vary.
    Best wishes,
    EfV

  13. #13
    Join Date
    Aug 2010
    Posts
    212
    Good day!

    i have the installer of flash player and I go this:

    Windows IE browser flash.exe and flash.msi

    Windows plug-in based browser flash.exe and flash.msi

    What flash.msi I need to use?

  14. #14
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Sorry, but I have no idea. I am a Flash developer and Web designer... not a network admin.
    Best wishes,
    EfV

  15. #15
    Join Date
    Aug 2010
    Posts
    212
    Good day!
    Since the client user has no totally installed flash player in their computer, so that No need to detect if they have installed flash player. I try to create an alert and I found out that it’s impossible to put a link in the alert. Now I remove the flash installer in my computer, so that the flash in my webpage become a box. I want to happen when they open my webpage that contains a flash; an alert or message on the top was appearing saying that “You do not have flash installed in your computer. Follow this link to get the installer”. I try it using alert but the link is impossible to appear. I have no idea how I can do this.
    Thank you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles