I'm using this jQuery for an (excellent) lightbox-like plugin called zoombox:
$('a.zoombox').zoombox({...});
It takes a
links in the form http://vimeo.com/15171582
, parses the vimeo id (15171582) and pops up a lightbox which loads an iframe
with this URL:
http://player.vimeo.com/video/15171582?autoplay=1&title=0&byline=0&portrait=0&wmode=transparent
How can I modify the jQuery so that, when viewed on a mobile browser,
- the lightbox doesn't launch, and
- the simple link gets converted to the
iframe
link?