Skip to content

Commit

Permalink
fix video player
Browse files Browse the repository at this point in the history
  • Loading branch information
Nguyen Thanh Trung committed Mar 28, 2014
1 parent 3bc2ffd commit 7c3c0d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/video/js/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,8 @@ function thumbnailClickHandler(videodata) {
// Be certain that metadata parsing has stopped before we show the
// video player. Otherwise, we'll have contention for the video hardware
stopParsingMetadata(function() {
var fullscreen = pendingPick || isPhone || isPortrait;
// ok, no idea why fullscreen is on only if isPhone || isPortrait
var fullscreen = true || pendingPick || isPhone || isPortrait;
showPlayer(videodata, !pendingPick, fullscreen, pendingPick);
});
});
Expand Down

0 comments on commit 7c3c0d6

Please sign in to comment.