mirror of https://github.com/calzoneman/sync.git
add autoplay attribute to custom embed iframe tag, so autoplay works as expected
calzone said i should make a pull request. so here it is. it would be great if 'allow="autoplay"' attribute is added to the generated iframe for custom embeds. so autoplay works as expected.
This commit is contained in:
parent
5a2494adcf
commit
959ef89c27
|
@ -59,6 +59,7 @@ window.EmbedPlayer = class EmbedPlayer extends Player
|
|||
iframe = $('<iframe/>').attr(
|
||||
src: embed.src
|
||||
frameborder: '0'
|
||||
allow: 'autoplay'
|
||||
allowfullscreen: '1'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue