Browse Source

#1613, Proper Fix for http

pull/1615/head
jlukic 9 years ago
parent
commit
ddc6c2ccc2
1 changed files with 2 additions and 2 deletions
  1. 4
      src/definitions/modules/video.js

4
src/definitions/modules/video.js

@ -205,14 +205,14 @@ $.fn.video = function(parameters) {
} }
if(source == 'vimeo') { if(source == 'vimeo') {
html = '' html = ''
+ '<iframe src="http://player.vimeo.com/video/' + id + '?=' + module.generate.url(source) + '"'
+ '<iframe src="//player.vimeo.com/video/' + id + '?=' + module.generate.url(source) + '"'
+ ' width="100%" height="100%"' + ' width="100%" height="100%"'
+ ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>' + ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
; ;
} }
else if(source == 'youtube') { else if(source == 'youtube') {
html = '' html = ''
+ '<iframe src="http://www.youtube.com/embed/' + id + '?=' + module.generate.url(source) + '"'
+ '<iframe src="//www.youtube.com/embed/' + id + '?=' + module.generate.url(source) + '"'
+ ' width="100%" height="100%"' + ' width="100%" height="100%"'
+ ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>' + ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
; ;

Loading…
Cancel
Save