Skip to content

Commit

Permalink
amp-reach-player: Allow fullscreen (ampproject#13564)
Browse files Browse the repository at this point in the history
  • Loading branch information
aghassemi authored and RanAbram committed Mar 12, 2018
1 parent 659cb48 commit c77ead5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/amp-reach-player/0.1/amp-reach-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class AmpReachPlayer extends AMP.BaseElement {

iframe.setAttribute('frameborder', 'no');
iframe.setAttribute('scrolling', 'no');
iframe.setAttribute('allowfullscreen', 'true');
iframe.src = 'https://player-cdn.beachfrontmedia.com/playerapi/v1/frame/player/?embed_id=' + encodeURIComponent(embedId);
this.applyFillContent(iframe);
this.element.appendChild(iframe);
Expand Down

0 comments on commit c77ead5

Please sign in to comment.