From the course: xAPI Foundations
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Query video plays
- [Instructor] Let's take a look at a sample page using xAPI queries to pull back information about video views. In this case, I created the statements using the exercise files from chapter three, lesson six, collecting which segments were played in a video. You should likewise use those files to generate statements for this lesson. We'll be using them in another upcoming lesson as well. When I click Get Video Statements, it's going to ask for a name to search for. I'm going to type in my name. And here you'll see that I, in fact, did play llama_drama at 480p. If I hit this again, and see if my buddy, Craig, watched, he also watched the video. So, let's take a look at what's going on in the code behind this page, and see how this information is being shown to us. Once again, we're going to see this four-step structure. First, set up the endpoint and credentials. If you'd like to use these exercise files on your own, you would, of course, need to enter your own endpoint, your own user…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Querying the LRS2m 41s
-
(Locked)
Building and sending a query3m 47s
-
(Locked)
Query video plays3m 46s
-
(Locked)
Query quiz results4m 3s
-
(Locked)
Correlate quiz and video plays3m 38s
-
(Locked)
Correlation under the hood3m 33s
-
Adaptive learning4m 23s
-
(Locked)
How adaptive learning works3m 41s
-
(Locked)
-