query is optional now
This commit is contained in:
parent
dc7582752c
commit
ac1cae44cc
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue