Skip to content

Commit

Permalink
Add Completion Threshold to initializes extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
KirkJohnson committed Apr 4, 2018
1 parent 166c8d3 commit 12912a8
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 @@ -117,7 +117,7 @@ H5P.VideoXAPI = (function ($) {
if (typeof volume !== 'undefined') {
extensions['https://w3id.org/xapi/video/extensions/volume'] = volume;
}

extensions['https://w3id.org/xapi/video/extensions/completion-threshold'] = instance.finishedThreshold;
return self.getArgsXAPI({
verb: 'http://adlnet.gov/expapi/verbs/initialized',
extensionsContext: extensions
Expand Down

0 comments on commit 12912a8

Please sign in to comment.