Questions tagged [tin-can-api]

an e-learning software specification that allows learning content and learning systems to speak to each other in a manner that records and tracks all types of learning experiences.

131 questions
0
votes
1 answer

Tin Can PHP library: processing results of query

I am trying to extract the name of an actor agent from LRS records using the Tin Can PHP library. I only have the mbox value (email address) of the person so my retrieval attempt proceeds like this: $actor = new TinCan\Agent(); $actor …
Grant_Bailey
  • 308
  • 1
  • 2
  • 13
0
votes
1 answer

I would like to be able to show more than one video on the page

I took the Github xAPI script for "playing a youtube video" and tried to modify it to show two videos instead of one. Ultimately I would like to list five or six videos in this page. Unfortunately I cannot get it to show more than one video at a…
John M.
  • 347
  • 1
  • 11
0
votes
1 answer

How can an LMS add context to a Tin Can Statement?

I am looking at using Tin-Can (xAPI) on our LMS. What I want to know, is how I can add information known to the platform to tin-can statements. E.g. I want to add course / class information in the context area of the statement. I cannot do this…
Oliver McPhee
  • 1,010
  • 10
  • 18
0
votes
1 answer

How to avoid exposing LRS credentials when launching xAPI package from LMS

I'm building an xAPI compliant LMS, using https://learninglocker.net/ as our LRS. Admins can upload a zip file containing an xAPI package. The LMS will unzip it, find the launch file, and allow users to launch that URL, passing in credentials for…
joshua.paling
  • 13,762
  • 4
  • 45
  • 60
0
votes
1 answer

Need to be able to recognize the email variable to complete the actor line

Please have a look at my code. I'm trying to set the actor with the variables set near the top of my page. Name works fine but I can't get email to work. Can you tell me how to modify the code so that it recognizes the email variable? Right now it…
John M.
  • 347
  • 1
  • 11
0
votes
1 answer

xAPI verb not showing in the ADL Public statement viewer

This is part of the last question that I posted. The code below sends the statement but when I view the record in the ADL statement viewer the verb is not showing. Can you tell me what I might be doing wrong on the verb line? Thank you. function…
John M.
  • 347
  • 1
  • 11
0
votes
1 answer

Generate statements for LRS in Android

I have to send information to a LRS retrieved from some xAPI content using an Android application. Is there some libraries or "best practices" that helps to create these statements?
Mark
  • 399
  • 4
  • 12
0
votes
1 answer

Tacking offline data with xAPI

I would like to download a course and work offline on that course. How can I track my results? I would like to record all my progress(slides that I viewed, quiz results, time for each content....), for example saving them on a file or a database,…
Mark
  • 399
  • 4
  • 12
0
votes
1 answer

Independence module (browser-based) for other types of LRS (LMS)

Is it possible create Tin-Can module (for example it's simple html page with quize) for all type of LRS? For SCORM it was possible. Because there was possible find typical scorm-API-object in parent pages (like API_1484_11). So this module is…
0
votes
1 answer

Capturing the form entries for a statement

Thank you Brian. Moving my script blocks as you suggested worked and it is now sending statements. Terrific! Unfortunately instead of it capturing the name that someone enters in the form, the statement viewer gives me an actor name of "fullname."…
John M.
  • 347
  • 1
  • 11
0
votes
1 answer

Form submission then send an xAPI statement

I am trying to send an xAPI statement after someone submits a their full name and email address through a form. In addition to sending the statement I would like to display a video.html page whereby they can watch a video. I know that there is an…
John M.
  • 347
  • 1
  • 11
0
votes
1 answer

Looping through a CSV file in order to send statements to an LRS

Is there a utility that allows me to loop through a CSV file giving me the ability to send multiple statements to an LRS? My CSV file would have the necessary Actor, Verb, Object information in it all separated by commas. Thank you.
John M.
  • 347
  • 1
  • 11
0
votes
2 answers

Is there a way to pull more records?

This is a follow up to a question I posted earlier on parsing xAPI statements. I got the parsing to work and now I'm using the code below to get statements from the ADL LRS and it pulls the first 50 records. Is there a way to specify more records?…
John M.
  • 347
  • 1
  • 11
0
votes
0 answers

Trying to parse xAPI statements from an LRS

When I try to return records from an Learning record store I am successful but it comes in as an unparsed array. Figure 1 below shows the code that is successful for me at bringing in this unparsed data. When I use the code in Figure 2 to bring in…
John M.
  • 347
  • 1
  • 11
0
votes
2 answers

Need to integrate Unity output to TinCan API?

I have developed a serious game(learning game) in Unity. I would like the game to be TinCan compliant. Can somebody tell me about the processes involved in making it TinCan compliant?
1 2 3
8 9