Author Message

Posted: Fri Nov 23, 2012 5:09 pm   Post subject: Detecting flash player

These days many people visit websites using their mobile devices; some of which don't flash players (including iPhone). When visitors visit flash containing site, user's have to be informed that their device doesn't support flash. A blank page doesn't help.

I've tried implementing the SWFObject (http://www.adobe.com/devnet/flashplayer ... bject.html). This seem to work on some devices, however there are two issues:
1. Code that embeds the flash is different from that generated by ispring.
2. Somehow, the full screen button doesn't function anymore.

To test this I've created a file and uploaded here http://www.microrao.com/tt.htm. I tried this using 3 browsers IE6, chrome23.0 and FF17.0
In all the cases, the full screen button wont work.

Is there a workaround to this problem?


Profile profile test

Posted: Thu Nov 29, 2012 8:29 pm   Post subject: Re: Detecting flash player

Please just copy the <object> tag to your HTML webpage as it contains embed code for Flash.

<object id="presentation" width="960" height="655" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="presentation 1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<param name="allowFullScreen" value="true" />
<embed src="presentation 1.swf" quality="high" bgcolor="#000000" width="960" height="655" name="presentation" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" allowFullScreen="true" />
</object>
I marked in red a line of code that contains a parameter that allows Full Screen mode by clicking the Full Screen button.

There are many Java Scripts for detecting user's device and browser so you can use them in your project.

For more information please visit: http://www.ispringsolutions.com/article ... _html.html


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 6 users online :: 1 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Alexa [Bot]