blueimp/Gallery — pull request #77 by johndalangin (2013-10-28 15:39:11+00:00)
Title: Add delay to 'pause' method as workaround for seek bug

After some research it appears that seeking on a YouTube video triggers a pause event.

http://stackoverflow.com/questions/18138031/how-to-distinguish-seek-from-pause-via-youtube-player-iframe-api

https://groups.google.com/forum/#!topic/youtube-api-gdata/1xGLZ54YOPI

I can't find a permanent fix, but adding a delay (2 seconds seems to work OK) to the execution of the pause function adds an efficient buffer for trigger a false pause.