I\'m using SwipeView (http://cubiq.org/swipeview) to create a swipeable slideshow on touchscreen devices. This is simple enough with images, but I want to include a Vimeo vi
Safari remote console will show you the error on the console - Error: The viewer must initiate playback first.
If you seek a video before it's played, the video won't start (iOS only; other platforms seem ok).
player.addEvent('ready', function() {
player.api("seekTo", 10);
});
So you need to do something like:
if ( navigator.userAgent.match(/(iPad|iPhone|iPod)/g)) {
player.addEvent('play', function(id) {
player.api("seekTo", 10);
});
} else {
player.api("seekTo", 10);
}