Skip to content

Commit

Permalink
fix(FEC-7015): fullscreen in mobile (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvir Hazout authored and Dan Ziv committed Aug 14, 2017
1 parent b1158d0 commit 0359775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/fullscreen/fullscreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class FullscreenControl extends BaseComponent {

requestFullscreen(element: HTMLElement) {
if (this.props.isMobile) {
this.player.getView().getElementsByTagName('video').webkitEnterFullscreen();
this.player.getView().getElementsByTagName('video')[0].webkitEnterFullscreen();
return;
}

Expand Down

0 comments on commit 0359775

Please sign in to comment.