Jquery to detect mobile and show code based upn conditions

0

I am trying to run a code in a single page which is a html page that if the website is opening in mobile or desktop, i found this tutorial but not sure how to use it

http://magentohostsolution.com/3-ways-detect-mobile-device-jquery/

<canvas id="low-poly"></canvas>

  <!-- YOUTUBE PLAYER -->
  <div id="video" data-video="ClIBmBT9clU" data-mute="true"></div>
  <!-- /YOUTUBE PLAYER --> 

use youtube if it is not mobile and ipad or tablet, other than that use it

I am really a noob in programming, just started

Link: Jquery to detect mobile and show code based upn conditions
Source: Stack Jquery

Share.

About Author

Leave A Reply