query is optional now

This commit is contained in:
j 2013-09-08 18:12:44 +00:00
parent dc7582752c
commit ac1cae44cc

View file

@ -79,7 +79,9 @@ function getVideoOverlay(page) {
$iframe = Ox.$('<iframe>')
.attr({
id: videoId,
src: video.src + '&showCloseButton=true&fullscreen=false&paused=false',
src: video.src
+ (video.src.indexOf('?') == -1 ? '?' : '&')
+ '&showCloseButton=true&fullscreen=false&paused=false',
width: '100%',
height: '100%',
frameborder: 0