On line 164 and 168 (nivo-lightbox.js
) where the source url for youtube is created change:
# 164
src = 'http://www.youtube.com/v/'+ video[4];
# 168
src = 'http://www.youtube.com/v/'+ video[3];
To:
# 164
src = 'http://www.youtube.com/embed/'+ video[4] +'?autoplay=1';
# 168
src = 'http://www.youtube.com/embed/'+ video[3] +'?autoplay=1';
This works for me, tested on iOS7 Safari, iOS7 Chrome and OSX 10.9 Chrome.
I think it's because the YouTube iOS7 app wants to take control over the video but somehow can't..