|
|
@ -205,14 +205,14 @@ $.fn.video = function(parameters) { |
|
|
|
} |
|
|
|
if(source == 'vimeo') { |
|
|
|
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%"' |
|
|
|
+ ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>' |
|
|
|
; |
|
|
|
} |
|
|
|
else if(source == 'youtube') { |
|
|
|
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%"' |
|
|
|
+ ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>' |
|
|
|
; |
|
|
|