mirror of https://github.com/calzoneman/sync.git
Set allowfullscreen for iframe embeds
This commit is contained in:
parent
6192de4bcb
commit
908377b20c
|
@ -61,6 +61,7 @@ window.EmbedPlayer = class EmbedPlayer extends Player
|
|||
iframe = $('<iframe/>').attr(
|
||||
src: embed.src
|
||||
frameborder: '0'
|
||||
allowfullscreen: '1'
|
||||
)
|
||||
|
||||
return iframe
|
||||
|
|
|
@ -881,7 +881,8 @@
|
|||
} else {
|
||||
iframe = $('<iframe/>').attr({
|
||||
src: embed.src,
|
||||
frameborder: '0'
|
||||
frameborder: '0',
|
||||
allowfullscreen: '1'
|
||||
});
|
||||
return iframe;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue