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(
src: embed.src
frameborder: '0'
allowfullscreen: '1'
)
return iframe

View file

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