Set allowfullscreen for iframe embeds

This commit is contained in:
calzoneman 2016-02-21 21:04:35 -08:00
parent 6192de4bcb
commit 908377b20c
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ window.EmbedPlayer = class EmbedPlayer extends Player
iframe = $('<iframe/>').attr( iframe = $('<iframe/>').attr(
src: embed.src src: embed.src
frameborder: '0' frameborder: '0'
allowfullscreen: '1'
) )
return iframe return iframe

View File

@ -881,7 +881,8 @@
} else { } else {
iframe = $('<iframe/>').attr({ iframe = $('<iframe/>').attr({
src: embed.src, src: embed.src,
frameborder: '0' frameborder: '0',
allowfullscreen: '1'
}); });
return iframe; return iframe;
} }