netfrets
12-09-2011, 12:05 PM
I have designed a Web Site whos layout behaves very well on PC, IPAD and mobile devices. I have one issue that I am hoping someone can help me with.
I want to use a Flash player widget to deliver my music from soundcloud for all desktops; however, when I detect an IPAD, IPOD, or Mobile Device I want to load an HTML 5 player. I can currently detect an IPAD.... with some Java Script and redirect to a new page, but rather than create a new page I would like to detect the client and then load the correct player. As the layout of the page will support either player.
Can this be done from the client side, If so How.
Thanks
James
I want to use a Flash player widget to deliver my music from soundcloud for all desktops; however, when I detect an IPAD, IPOD, or Mobile Device I want to load an HTML 5 player. I can currently detect an IPAD.... with some Java Script and redirect to a new page, but rather than create a new page I would like to detect the client and then load the correct player. As the layout of the page will support either player.
Can this be done from the client side, If so How.
Thanks
James