Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xapi video verbs #17

Open
wants to merge 149 commits into
base: master
Choose a base branch
from
Open

Commits on Nov 22, 2017

  1. Added Seeked Functionailty

    Added code to handle seeked event and trigger an xAPI statement
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    fa94009 View commit details
    Browse the repository at this point in the history
  2. Added xAPI extending functionality

    added code for sending following events
    -seek
    -volume change
    -fullscreen
    -play
    -pause
    -Initiated
    
    I haven’t actually been able to get the fullscreen event to trigger
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    6aea788 View commit details
    Browse the repository at this point in the history
  3. Added xAPI for Youtube

    Used Youtube Video API to implement:
    -Seek
    -Play
    -Pause
    -Initiated
    This is all that was possible via their API
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    28c3266 View commit details
    Browse the repository at this point in the history
  4. xAPI on Youtube, html5, and videojs

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    6df9a91 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba72e7d View commit details
    Browse the repository at this point in the history
  6. Fixed seeked on Youtube player

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    3ffd605 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3a19499 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    910f714 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    749f896 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    73f9072 View commit details
    Browse the repository at this point in the history
  11. Ensure xAPI played event sent appropriately

    Play wasn’t firing with play button was hit all the time so I added functionality in the state change event to evaluate if play event needed to be triggered.
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    9ee8c07 View commit details
    Browse the repository at this point in the history
  12. Moved Competion Prams into a function

    Moved completion params into a function
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    6cc6009 View commit details
    Browse the repository at this point in the history
  13. Reverted Changes on Video JS

    Haven’t been able to get this code to call for testing in any video upload with Wordpress so I am not adding functionality for this.
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    fff638d View commit details
    Browse the repository at this point in the history
  14. Modifying for seek

    Fine tuned seek event more.  It is working very well on HTML5 still need some work on Youtube for the events when a user is scrubbing.
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    68c2482 View commit details
    Browse the repository at this point in the history
  15. Modified Seek Event for YouTube

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    3b357b4 View commit details
    Browse the repository at this point in the history
  16. Format Float on played segments

    Made sure all floats in played segments were formatted to correct precision
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    8680f05 View commit details
    Browse the repository at this point in the history
  17. Fix whitespace

    maintainer uses 2 spaces for indentation, make sure to follow this style.
    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    b559407 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    2cb2dce View commit details
    Browse the repository at this point in the history
  19. Made Code DRY

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    920f80e View commit details
    Browse the repository at this point in the history
  20. Whitespace

    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    3527921 View commit details
    Browse the repository at this point in the history
  21. Cleaner logic

    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    847bd71 View commit details
    Browse the repository at this point in the history
  22. Whitespace (indentation)

    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    157f527 View commit details
    Browse the repository at this point in the history
  23. Refactor xAPI object function names

    Use template getArgsXAPI{verb} instead of getxAPI{verb}Object
    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    60015e7 View commit details
    Browse the repository at this point in the history
  24. Refactor xAPI function names

    xAPI verbs are past tense, so make the function names match.
    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    871fb29 View commit details
    Browse the repository at this point in the history
  25. Fix for misnamed variable

    html5 video object has a property called currentTime, not current_time
    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    e52a8dd View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    449df2d View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    4924b66 View commit details
    Browse the repository at this point in the history
  28. Added Seeked Functionailty

    Added code to handle seeked event and trigger an xAPI statement
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    8c66406 View commit details
    Browse the repository at this point in the history
  29. Added xAPI extending functionality

    added code for sending following events
    -seek
    -volume change
    -fullscreen
    -play
    -pause
    -Initiated
    
    I haven’t actually been able to get the fullscreen event to trigger
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    8ef5ba9 View commit details
    Browse the repository at this point in the history
  30. Added xAPI for Youtube

    Used Youtube Video API to implement:
    -Seek
    -Play
    -Pause
    -Initiated
    This is all that was possible via their API
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    e08d9c5 View commit details
    Browse the repository at this point in the history
  31. xAPI on Youtube, html5, and videojs

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    1c102c7 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    2b5ed92 View commit details
    Browse the repository at this point in the history
  33. Fixed seeked on Youtube player

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    9e8aa9b View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    9f22a59 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    828611e View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    c16cc62 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    1988a2d View commit details
    Browse the repository at this point in the history
  38. Ensure xAPI played event sent appropriately

    Play wasn’t firing with play button was hit all the time so I added functionality in the state change event to evaluate if play event needed to be triggered.
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    6b57fc4 View commit details
    Browse the repository at this point in the history
  39. Moved Competion Prams into a function

    Moved completion params into a function
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    7245458 View commit details
    Browse the repository at this point in the history
  40. Reverted Changes on Video JS

    Haven’t been able to get this code to call for testing in any video upload with Wordpress so I am not adding functionality for this.
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    25ede9a View commit details
    Browse the repository at this point in the history
  41. Modifying for seek

    Fine tuned seek event more.  It is working very well on HTML5 still need some work on Youtube for the events when a user is scrubbing.
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    778330f View commit details
    Browse the repository at this point in the history
  42. Modified Seek Event for YouTube

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    7561c34 View commit details
    Browse the repository at this point in the history
  43. Format Float on played segments

    Made sure all floats in played segments were formatted to correct precision
    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    a640440 View commit details
    Browse the repository at this point in the history
  44. Fix whitespace

    maintainer uses 2 spaces for indentation, make sure to follow this style.
    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    dd3cefc View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    18be43b View commit details
    Browse the repository at this point in the history
  46. Made Code DRY

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    c4e2861 View commit details
    Browse the repository at this point in the history
  47. Whitespace

    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    3c6e0a9 View commit details
    Browse the repository at this point in the history
  48. Cleaner logic

    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    1434112 View commit details
    Browse the repository at this point in the history
  49. Whitespace (indentation)

    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    129d56e View commit details
    Browse the repository at this point in the history
  50. Refactor xAPI object function names

    Use template getArgsXAPI{verb} instead of getxAPI{verb}Object
    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    ebadcc9 View commit details
    Browse the repository at this point in the history
  51. Refactor xAPI function names

    xAPI verbs are past tense, so make the function names match.
    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    c16d0fd View commit details
    Browse the repository at this point in the history
  52. Fix for misnamed variable

    html5 video object has a property called currentTime, not current_time
    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    a95ae2c View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    b85a5ec View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    7100eb6 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    6c8dffa View commit details
    Browse the repository at this point in the history
  56. Change Completed to Finished

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    954f51f View commit details
    Browse the repository at this point in the history
  57. Got finished working

    KirkJohnson authored and figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    f82c2cb View commit details
    Browse the repository at this point in the history
  58. Fix whitespace

    figureone committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    a8e7b3f View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2017

  1. Whitespace

    figureone committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    215da89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52256cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15473c2 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. Moved statement creation to separate file

    Moved all statement creation of xAPI video objects to a separate file x-api.js
    KirkJohnson committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    15a58c8 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. Move of xapi statement to new file

    This should have been commited with the last commit.  The statement generation was moved out of this file to the x-api.js file.
    KirkJohnson committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    b1e9a27 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2018

  1. Configuration menu
    Copy the full SHA
    28b9654 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5eb7492 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2018

  1. Configuration menu
    Copy the full SHA
    9fe5f95 View commit details
    Browse the repository at this point in the history
  2. Changed Finished to Completed

    Changed to match video profile.  Completed statement can be differentiated from H5P interactive video completed statement due to object.id.
    KirkJohnson committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    58d5638 View commit details
    Browse the repository at this point in the history
  3. Adjustments to xapi statements

    Added some items to completed per Jon’s request and ensured decimals in seeked were being fixed to a decimal count.
    KirkJohnson committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    02607f0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a3d024c View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2018

  1. Configuration menu
    Copy the full SHA
    c516b82 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2018

  1. Configuration menu
    Copy the full SHA
    a35b66c View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. Add comments

    Add description comments to input variables
    KirkJohnson committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    56d8f0d View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2018

  1. Fix bug with small video durations

    parseInt() fails on small numbers.
    Video durations less than 32 seconds will use scientific notation when doing the year calculation (e.g., 8 seconds => parseInt(8*(365*24*3600)) == 2.53e-7), and parseInt() will convert this to 2 instead of 0.
    See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt#Description
    figureone committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    35daa0a View commit details
    Browse the repository at this point in the history
  2. Whitespace

    figureone committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    57f9e75 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2018

  1. Configuration menu
    Copy the full SHA
    d292a6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4086a79 View commit details
    Browse the repository at this point in the history
  3. Remove redundant logic

    figureone committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    66a7928 View commit details
    Browse the repository at this point in the history
  4. Fix typo

    figureone committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    735bf09 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    745ab2a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    44a36df View commit details
    Browse the repository at this point in the history
  7. Whitespace

    figureone committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    c9a68cf View commit details
    Browse the repository at this point in the history
  8. Update completed verb to match change in spec

    xAPI Video Profile spec was updated to use “completion” instead of “success” in the result object. See:
    https://liveaspankaj.gitbooks.io/xapi-video-profile/content/statement_data_model.html#252-completion
    figureone committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    5ab4d28 View commit details
    Browse the repository at this point in the history
  9. Annotate spec format for progress extension

    also include note about avoiding parseInt() because it cannot handle exponential notation.
    figureone committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    cb1b90e View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2018

  1. Configuration menu
    Copy the full SHA
    0ef32d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f210eba View commit details
    Browse the repository at this point in the history
  3. Whitespace

    figureone committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    467ee4c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4cf8602 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2012f5b View commit details
    Browse the repository at this point in the history
  6. Adjusting getProgress()

    In getProgress a current segment is ended.  I removed an uneccessary if statement below this that made a segment from the current time to the current time.  getProgress is also called in html5.js and youtube.js before determining if getArgsXAPICopmleted should be called.  getArgsXAPICompleted was also calling getProgess which results in another segment of current time to current time which is meaningless so I made progress an input to getArgsXAPICompleted so this call is only made once and the segment is ended without a meaningless one being added to the segment string.
    KirkJohnson committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    ca9a196 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    48f51e1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ca6cd81 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    080f2ce View commit details
    Browse the repository at this point in the history
  10. Docs update and whitespace

    figureone committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    09583ab View commit details
    Browse the repository at this point in the history
  11. Refactor endPlayedSegment(), getProgress(), and playedSegments

    playedSegments was being stored as a string, requiring parsing to array and manipulating whenever progress was queried. Refactor playedSegments to an array, and only stringify it when sending an xAPI statement out.
    figureone committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    a00b8b5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a4e7dd6 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2018

  1. Formatting (match H5P code guidelines)

    strings wrapped in single quotes;
    add missing semicolons;
    strict comparisons;
    else starts its own line.
    See: https://h5p.org/documentation/for-developers/coding-guidelines
    figureone committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    ff3ffb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af8e985 View commit details
    Browse the repository at this point in the history
  3. Lint (redeclaration)

    figureone committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    5558d8f View commit details
    Browse the repository at this point in the history
  4. Lint (whitespace)

    figureone committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    ff9f1c0 View commit details
    Browse the repository at this point in the history
  5. Lint (semicolons)

    figureone committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    ec75b45 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    719add4 View commit details
    Browse the repository at this point in the history
  7. Lint (remove ES6 syntax)

    figureone committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    ef6aef4 View commit details
    Browse the repository at this point in the history
  8. Fix for played segments

    could have garbage data with lots of timeline scrubbing, or miss some segments if user played/paused in less than 1 second intervals.
    figureone committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    4995735 View commit details
    Browse the repository at this point in the history
  9. Lowered threshold of time for endPlayedSegment

    This was only pushing segments if the time was greater than 1 second.  The reason being is this would get called multiple times when a user scrubbed the play bar for a seeked event, and we used the time to determine state.  We lowered this to 1/2 a second and the results seem to go well.  Seek isn’t fired multiple times when scrubbing and play and paused are recorded acurately even with short intervals.
    KirkJohnson committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    2eb31e9 View commit details
    Browse the repository at this point in the history
  10. Revert to previous version to accomodate pull

    Had made changes and committed before my git tool recognized changes had already been pushed.  I’m changing to match pushed changes since they incorporate the work I was going to do anyways.
    KirkJohnson committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    7fc4d18 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    31ce7e6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c8940b2 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. HFP-1779 Refactor xAPI statement building

    There was some duplicate code that was used in several functions that could
    also be supported by a builder function. Will be more relevant as new
    xAPI statements will get added.
    Cmp. h5p#17 (comment)
    otacke committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    a88c17b View commit details
    Browse the repository at this point in the history
  2. HFP-1779 Allow false for full-screen extension on init

    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
    otacke committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    f3581ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0585bbb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94aa8c2 View commit details
    Browse the repository at this point in the history
  5. HFP-1779 Move video state variables to video object

    Some video state variables were stored with the xAPI object, not with the
    the video object. This was step 1 in moving some of the duplicate logic
    within the video handlers to video.js
    otacke committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    40db1c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4346b92 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6c0dbf9 View commit details
    Browse the repository at this point in the history
  8. Whitespace

    figureone committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    2224edd View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2018

  1. Configuration menu
    Copy the full SHA
    d0bc373 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83c472a View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. Merge pull request #1 from otacke/add-xapi-video-verbs

    Add xapi video verbs
    figureone authored Mar 23, 2018
    Configuration menu
    Copy the full SHA
    f132369 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3ed616 View commit details
    Browse the repository at this point in the history
  3. Whitespace

    figureone committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    d6e4f24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91936f3 View commit details
    Browse the repository at this point in the history
  5. Trigger completed statement at 95% or more watched

    When video ends, if the watched segments cover at least 95% of the total video time, then fire the xAPI completed statement. This covers edge cases where small imprecisions in play/pause timecodes cause getProgress() to report less-than-100% completion, even if the entire video was watched.
    figureone committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    166c8d3 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2018

  1. Configuration menu
    Copy the full SHA
    5c1f995 View commit details
    Browse the repository at this point in the history
  2. HFP-1779 Prevent triggering paused before seeked

    The current implementation of H5P.Video was not designed to track
    the experience of the user or video state as perceived by the user.
    This job is left to the content type using H5P.Video, which forces the
    implementation of new xAPI verbs to be quirky. Also, it might not be
    possible to get rid of some unneccesary xAPI statements that are
    fired unless there's some refactoring which would also include e.g.
    Interactive Video.
    otacke committed Apr 1, 2018
    Configuration menu
    Copy the full SHA
    1f18bdb View commit details
    Browse the repository at this point in the history
  3. HFP-1779 Clean up code

    Use identity operator instead of equality operator
    Use constants for video state
    otacke committed Apr 1, 2018
    Configuration menu
    Copy the full SHA
    f977a64 View commit details
    Browse the repository at this point in the history
  4. HFP-1779 Clean code

    otacke committed Apr 1, 2018
    Configuration menu
    Copy the full SHA
    283f2e3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6dd68ac View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8223c20 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2018

  1. Configuration menu
    Copy the full SHA
    12912a8 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2018

  1. Merge pull request #2 from otacke/add-xapi-video-verbs

    Add xapi video verbs
    figureone authored Apr 9, 2018
    Configuration menu
    Copy the full SHA
    cbef273 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2018

  1. Add video length to initialized statement

    Was asked by Jon to add video length to the extensions sent by the intialized verb.
    KirkJohnson committed Apr 23, 2018
    Configuration menu
    Copy the full SHA
    4f70c16 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'add-xapi-video-verbs' of https://github.com/uhm-coe/h5p…

    …-video into add-xapi-video-verbs
    
    # Conflicts:
    #	scripts/html5.js
    #	scripts/youtube.js
    KirkJohnson committed Apr 23, 2018
    Configuration menu
    Copy the full SHA
    94ff7b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2018

  1. Use Youtube API to pass correct duration

    Youtube was passing 0 in for video duration so I changed this to use the api’s method to get video length.
    COE User committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    035d23a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2018

  1. Configuration menu
    Copy the full SHA
    3707be2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d243bb1 View commit details
    Browse the repository at this point in the history
  3. Whitespace

    figureone committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    5501579 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7ab090b View commit details
    Browse the repository at this point in the history

Commits on May 25, 2018

  1. Configuration menu
    Copy the full SHA
    e1af0c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d612b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e6a584 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    85b0b86 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ef6d166 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4f595f7 View commit details
    Browse the repository at this point in the history
  7. Revert 6dd68ac

    Updating the currently playing segment start time when the video starts playing is required in certain scenarios. For example, If a user revisits a page with a youtube video that they had previously partially watched, the video will resume from where they left off. If we don’t set `playingSegmentStart` on the play event, the first playing segment recorded will start at 0 (the beginning of the video) rather than the timecode the video resumed from.
    figureone committed May 25, 2018
    Configuration menu
    Copy the full SHA
    26b8f94 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0ea01a7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    17052be View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2018

  1. Configuration menu
    Copy the full SHA
    d9d2202 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    706855d View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2018

  1. Configuration menu
    Copy the full SHA
    9bc078a View commit details
    Browse the repository at this point in the history