Jump to content

[SOLVED] check if user is on mobile device or if flash is disabled?


Dragen

Recommended Posts

Hi,

I'm currently researching the use of flash in web pages and realise that many portable devices such as mobile phones or pdas can't run flash.

 

Is there a way of checking if they're on a mobile device or if flash is disabled using php?

I've looked into it and it seems like it's only possible to check if flash is disabled using javascript and even then it's highly unreliable.

Any help would be appreciated..

even just some links to some sites that's help.

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

As far as PHP goes, some clients send that flash is enabled in their headers, but some do not, so unfortunately PHP is very unreliable for Flash sensing.  JS isn't a very good alternative method either because someone with out Flash is more likely to not have JS enabled than someone with out Flash (or atleast that's what I think ;p).

 

If you're that worried about it, I suggest just not using Flash, but I personally would just take the loss of users unless it was like a bunch of people.

Link to comment
Share on other sites

yeah, that's pretty much what I thought..

You'd think that with so many sites using flash now, that all browsers would send mime headers to say whether they support it or not.

I'll probably have a splash screen asking which version to view.. flash or html.

Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.