Course player

Linking the course player

To send a user directly to the course player, use the url:

http://learninglogin.com/api/train_sessions/:login_id/:course_code?token=:token

FieldTypeDescription
login_idintegerId of login consuming the train session
course_codestringUnique code which identifies the course, i.e. WHMIS
tokenstringAuthentication token

❗️

All fields are required


Embedding the course player

If you want to embed the course player into your site, just insert an iframe with the url above in the src property:

<iframe src="http://learninglogin.com/api/train_sessions/10000/WHMIS?token=API_TOKEN"> </iframe>