Posted By

peterbelsky on 01/28/10


Tagged

video for iphone


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

umang_nine
avanadra
motionmediasolutions


video for iphone


 / Published in: JavaScript
 

compress with handbreak, replace div

  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  

You need to login to post a comment.