Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 10-21-2010, 09:30 PM Flash Detection Code
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
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
newphpcoder is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-22-2010, 01:48 AM Re: Flash Detection Code
vivekar's Avatar
Webmaster Talker

Posts: 612
Trades: 0
Adobe has a detection kit.
http://www.adobe.com/products/flashp...detection_kit/

You can detect flash using jQuery.
http://plugins.jquery.com/project/jqplugin

If the client does not have flash, you can redirect to the intranet page where they can download and install flash.
__________________

Please login or register to view this content. Registration is FREE
(Active since 2003) |
Please login or register to view this content. Registration is FREE
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 10-22-2010, 01:56 AM Re: Flash Detection Code
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
Quote:
Originally Posted by vivekar View Post
Adobe has a detection kit.
http://www.adobe.com/products/flashp...detection_kit/

You can detect flash using jQuery.
http://plugins.jquery.com/project/jqplugin

If the client does not have flash, you can redirect to the intranet page where they can download and install flash.
How can I do that?
newphpcoder is offline
Reply With Quote
View Public Profile
 
Old 10-27-2010, 11:48 PM Re: Flash Detection Code
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
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
newphpcoder is offline
Reply With Quote
View Public Profile
 
Old 10-28-2010, 01:30 AM Re: Flash Detection Code
Experienced Talker

Posts: 39
Name: Ricky
Trades: 0
yes i agree
DJRickster is offline
Reply With Quote
View Public Profile
 
Old 10-28-2010, 01:30 AM Re: Flash Detection Code
Experienced Talker

Posts: 39
Name: Ricky
Trades: 0
with the above posts
DJRickster is offline
Reply With Quote
View Public Profile
 
Old 10-28-2010, 02:04 AM Re: Flash Detection Code
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
Quote:
Originally Posted by DJRickster View Post
with the above posts
I resolved my problems with this code:
Code:
<object type="application/x-shockwave-flash" data="file.swf"> 
<param name="movie" value="test.swf"> 
<param name="quality" value="high"> 
<param name="menu"> 
    FLASH is not installed, <a href="downloads/flashinstall.exe">press here to install</a>
</object>
newphpcoder is offline
Reply With Quote
View Public Profile
 
Old 10-28-2010, 12:09 PM Re: Flash Detection Code
Skilled Talker

Posts: 59
Name: Lisa Forgan
Location: Colorado
Trades: 0
Looks good.
But here is another method you can do if someone doesn't have flash player installed. It will play the flash file if you have the appropriate player otherwise the <div> called "flash-mast" will display. This will provide them the link they will need in order to play the flash file. This is a little more flexible as you can even put a still image if you have specific clients that aren't allowed to download anything on their work computers.


<div id="flash-mast">
<p>Please upgrade your <a href="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" class="external" rel="external">Flash Plugin</a> and enable JavaScript.</p>
</div>
<script type="text/javascript">
var so = new SWFObject("multimedia/mast.swf", "swf-mast", "800", "280", "7", "#ffffff");
so.addParam("wmode", "transparent");
so.write("flash-mast");
</script>
Puddlemut is offline
Reply With Quote
View Public Profile
 
Old 10-28-2010, 08:53 PM Re: Flash Detection Code
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
Quote:
Originally Posted by Puddlemut View Post
Looks good.
But here is another method you can do if someone doesn't have flash player installed. It will play the flash file if you have the appropriate player otherwise the <div> called "flash-mast" will display. This will provide them the link they will need in order to play the flash file. This is a little more flexible as you can even put a still image if you have specific clients that aren't allowed to download anything on their work computers.


<div id="flash-mast">
<p>Please upgrade your <a href="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" class="external" rel="external">Flash Plugin</a> and enable JavaScript.</p>
</div>
<script type="text/javascript">
var so = new SWFObject("multimedia/mast.swf", "swf-mast", "800", "280", "7", "#ffffff");
so.addParam("wmode", "transparent");
so.write("flash-mast");
</script>

Thank you for the suggested codes:

I resolved my problem with this helpful codes:
Code:
<object type="application/x-shockwave-flash" data="file.swf"> 
<param name="movie" value="test.swf"> 
<param name="quality" value="high"> 
<param name="menu"> 
    FLASH is not installed, <a href="downloads/flashinstall.exe">press here to install</a>
</object>
You suggested codes is also helpful and I really appreciated...again thank you:)
newphpcoder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Flash Detection Code
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27863 seconds with 12 queries