Skip to content

Commit

Permalink
change allowfullscreen setting
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed Jun 13, 2018
1 parent 3470544 commit 0a8f9d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Resources/contao/templates/ce_vimeo.html5
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
iframe.src = this.dataset['video'];
iframe.width = <?= $this->width ?>;
iframe.height = <?= $this->height ?>;
iframe.allowfullscreen = '';
iframe.setAttribute('allowfullscreen', '');
this.parentNode.replaceChild(iframe, this);
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/contao/templates/ce_youtube.html5
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
iframe.src = this.dataset['video'];
iframe.width = <?= $this->width ?>;
iframe.height = <?= $this->height ?>;
iframe.allowfullscreen = '';
iframe.setAttribute('allowfullscreen', '');
this.parentNode.replaceChild(iframe, this);
});
</script>
Expand Down

0 comments on commit 0a8f9d7

Please sign in to comment.