Skip to content

Commit

Permalink
HFP-1779 Allow false for full-screen extension on init
Browse files Browse the repository at this point in the history
The Video CoP does allow the full-screen extension to be false.
Cmp. https://github.com/liveaspankaj/xapi-video-cop/blob/master/statement_data_model.md
  • Loading branch information
otacke committed Mar 14, 2018
1 parent a88c17b commit f3581ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/x-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ H5P.VideoXAPI = (function ($) {
volume = formatFloat(volume);

var extensions = {};
if (typeof isFullscreen !== 'undefined' && isFullscreen) {
if (typeof isFullscreen !== 'undefined') {
extensions['https://w3id.org/xapi/video/extensions/full-screen'] = isFullscreen;
}
if (typeof screenSize !== 'undefined') {
Expand Down

0 comments on commit f3581ac

Please sign in to comment.