Skip to content

xAPI mapping is using terminated event for video where it should be using paused. #230

@e0d

Description

@e0d

The video profile defines the paused verb as:

Indicates that the actor temporary or permanently stopped experiencing the recorded media object.

    'stop_video': {
        'id': constants.XAPI_VERB_TERMINATED,
        'display': constants.TERMINATED
    },
    'edx.video.stopped': {
        'id': constants.XAPI_VERB_TERMINATED,
        'display': constants.TERMINATED
    },

Code is here.

Terminated is defined as

Used to express that the actor ended a video.

Terminated could also be sent, though it's optional, but only if a pause event is also sent first.

The LRP MAY use "Terminated" when the Actor has terminated the video.
A "Paused" statement MUST be sent before "Terminated" statement if not already sent.
Any statements after this in the current video session MUST NOT be sent, and will be ignored if sent.

There's another question here, does the current backend support chaining xAPI statements such that multiple are emitted for a single platform event?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions