video for iphone


/ Published in: JavaScript
Save to your folder(s)

compress with handbreak, replace div


Copy this code and paste it in your HTML
  1. <script type="text/javascript" language="javascript">
  2. <!--
  3. if((navigator.userAgent.match(/iPhone/i)) ||
  4. (navigator.userAgent.match(/iPod/i)))
  5. {
  6. document.getElementById("jj").innerHTML = "<a href=\"VIDEO_URL\"><img src=\"/images/jj.jpg\" /></a>";
  7. }
  8. -->
  9. </script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.