The video profile of the xAPI was created to identify and standardize the common types of interactions that can be tracked in any video player.
| Profile IRI | https://w3id.org/xapi/video |
| See Also | https://github.com/liveaspankaj/xapi-video-cop |
| Author | xAPI Video CoP |
| Concepts | 23 |
| Statement Templates | 9 |
| Patterns | 3 |
Indicates the actor paused the video being played at a specific point.
| Type | Verb |
| IRI | https://w3id.org/xapi/video/verbs/paused |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
| Exact Match | http://id.tincanapi.com/verb/paused |
Indicates that the actor started experiencing the recorded media object.
| Type | Verb |
| IRI | https://w3id.org/xapi/video/verbs/played |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
| Exact Match | http://activitystrea.ms/schema/1.0/play |
Indicates the actor changed the progress towards a specific point.
| Type | Verb |
| IRI | https://w3id.org/xapi/video/verbs/seeked |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
A recording of both the visual and audible components made available on a display screen.
| Type | ActivityType |
| IRI | https://w3id.org/xapi/video/activity-type/video |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
| Exact Match | http://activitystrea.ms/schema/1.0/video |
Used to specify the percentage of media that should be consumed to trigger a completion. Value MUST be between 0 and with maximum 3 decimals. If Completion Threshold is not included, it is assumed to be 1, i.e. 100%. If Completion Threshold is not 1, it MUST be included in Video Profile statements with these verbs: initialized, paused, completed, and terminated.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/completion-threshold |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to expresses whether subtitle or closed captioning is enabled.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/cc-subtitle-enabled |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to express the language of subtitle or closed captioning. The lexical and value spaces of xsd:language are the set of language codes defined by RFC 5646. For example, 'en' for English or 'en-US' for American English.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/cc-subtitle-lang |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to express the frame rate or frames per second of a video (or average rate of frames per second in the case of variable frame-rate).
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/frame-rate |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to expresses that the video is played in full screen mode.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/full-screen |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
The actual length of the media in seconds. Value MUST be a float value with maximum 3 decimals.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/length |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to express the video resolution or quality. Integer Value (e.g., 360, 480, 720, 1080, etc.).
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/quality |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to provide the session identifier associated with the activity.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/session-id |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to express the total available screen size for Video playback.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/screen-size |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to express the play-back speed (e.g., 1x,2x,0,-1x,-2x).
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/speed |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to identify the name of the audio track in a media object.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/track |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to identify the User Agent string of the browser, if the video is launched in browser.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/user-agent |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to identify the loudness of sound specified for a media object.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/volume |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to identify the current video size in Width x Height as viewed by the user.
| Type | ContextExtension |
| IRI | https://w3id.org/xapi/video/extensions/video-playback-size |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Played segments reveals potential heat map data for showing parts of the video the actor watched during current registration in chronological order (e.g., 0.000[.]12.000[,]14.000[.]21.000[,]18.000[.]30.000).
| Type | ResultExtension |
| IRI | https://w3id.org/xapi/video/extensions/played-segments |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to expresses the percentage of media consumed by the actor.
| Type | ResultExtension |
| IRI | https://w3id.org/xapi/video/extensions/progress |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to express the time into the video. (e.g., “00000.000” in seconds and milliseconds).
| Type | ResultExtension |
| IRI | https://w3id.org/xapi/video/extensions/time |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to identify the point in time the actor changed from in a media object (eg: “200.000” in seconds and milliseconds).
| Type | ResultExtension |
| IRI | https://w3id.org/xapi/video/extensions/time-from |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
Used to identify the point in time the actor changed to in a media object (eg: “300.000” in seconds and milliseconds).
| Type | ResultExtension |
| IRI | https://w3id.org/xapi/video/extensions/time-to |
| In Scheme | https://w3id.org/xapi/video/v1.0.3 |
The statement template and rules associated with a video being initialized or started.
| IRI | https://w3id.org/xapi/video/templates#initialized |
| Verb | http://adlnet.gov/expapi/verbs/initialized |
$.id [included]$.timestamp [included]$.context.extensions['https://w3id.org/xapi/video/extensions/length'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/cc-enabled'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/cc-subtitle-lang'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/frame-rate'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/full-screen'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/quality'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/screen-size'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/video-playback-size'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/speed'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/track'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/user-agent'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/volume'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/completion-threshold'] [recommended]The statement template and rules associated with a video being played.
| IRI | https://w3id.org/xapi/video/templates#played |
| Verb | https://w3id.org/xapi/video/verbs/played |
| Object Activity Type | https://w3id.org/xapi/video/activity-type/video |
$.id [included]$.timestamp [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/length'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]The statement template and rules associated with a video being paused.
| IRI | https://w3id.org/xapi/video/templates#paused |
| Verb | https://w3id.org/xapi/video/verbs/paused |
| Object Activity Type | https://w3id.org/xapi/video/activity-type/video |
$.id [included]$.timestamp [included]$.context.extensions['https://w3id.org/xapi/video/extensions/length'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/progress'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/played-segments'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/completion-threshold'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]The statement template and rules associated with a video seekbar being moved from and to a specific position in the video.
| IRI | https://w3id.org/xapi/video/templates#seeked |
| Verb | https://w3id.org/xapi/video/verbs/seeked |
| Object Activity Type | https://w3id.org/xapi/video/activity-type/video |
$.id [included]$.timestamp [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time-to'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time-from'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/length'] [recommended]$.result.extensions['https://w3id.org/xapi/video/extensions/progress'] [recommended]$.result.extensions['https://w3id.org/xapi/video/extensions/played-segments'] [recommended]The statement template and rules associated with a video being completed.
| IRI | https://w3id.org/xapi/video/templates#completed |
| Verb | http://adlnet.gov/expapi/verbs/completed |
| Object Activity Type | https://w3id.org/xapi/video/activity-type/video |
$.id [included]$.timestamp [included]$.result.duration [included]$.result.completion [included]$.context.extensions['https://w3id.org/xapi/video/extensions/length'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/progress'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/played-segments'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/completion-threshold'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]The statement template and rules associated with a terminating the player.
| IRI | https://w3id.org/xapi/video/templates#terminated |
| Verb | http://adlnet.gov/expapi/verbs/terminated |
| Object Activity Type | https://w3id.org/xapi/video/activity-type/video |
$.id [included]$.timestamp [included]$.context.extensions['https://w3id.org/xapi/video/extensions/length'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/progress'] [included]$.result.extensions['https://w3id.org/xapi/video/extensions/played-segments'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/completion-threshold'] [recommended]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]Enable Closed Captioning
| IRI | https://w3id.org/xapi/video/templates#closed-captioning |
| Verb | http://adlnet.gov/expapi/verbs/interacted |
| Object Activity Type | https://w3id.org/xapi/video/activity-type/video |
$.id [included]$.timestamp [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/cc-enabled'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/cc-subtitle-lang'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]Volume Change Interaction
| IRI | https://w3id.org/xapi/video/templates#volumechange |
| Verb | http://adlnet.gov/expapi/verbs/interacted |
| Object Activity Type | https://w3id.org/xapi/video/activity-type/video |
$.id [included]$.timestamp [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/volume'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]Screen Change Interaction
| IRI | https://w3id.org/xapi/video/templates#screenchange |
| Verb | http://adlnet.gov/expapi/verbs/interacted |
| Object Activity Type | https://w3id.org/xapi/video/activity-type/video |
$.id [included]$.timestamp [included]$.result.extensions['https://w3id.org/xapi/video/extensions/time'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/full-screen'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/screen-size'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/video-playback-size'] [included]$.context.extensions['https://w3id.org/xapi/video/extensions/session-id'] [recommended]The general pattern and sequence of Statement templates using the Video Profile.
| IRI | https://w3id.org/xapi/video/patterns#generalpattern |
| Sequence | https://w3id.org/xapi/video/templates#initializedhttps://w3id.org/xapi/video/patterns#optionalmiddlestatementshttps://w3id.org/xapi/video/templates#terminated |
All of the Video Profile statement templates.
| IRI | https://w3id.org/xapi/video/patterns#all-activities-pattern |
| Alternates | https://w3id.org/xapi/video/templates#playedhttps://w3id.org/xapi/video/templates#pausedhttps://w3id.org/xapi/video/templates#seekedhttps://w3id.org/xapi/video/templates#volumechangehttps://w3id.org/xapi/video/templates#screenchangehttps://w3id.org/xapi/video/templates#closed-captioninghttps://w3id.org/xapi/video/templates#completed |
A combined pattern of zero or more Video Profile standard statement templates that can be used with the general pattern.
| IRI | https://w3id.org/xapi/video/patterns#optionalmiddlestatements |
| Zero Or More | https://w3id.org/xapi/video/patterns#all-activities-pattern |