Implementing Video Integration

An overview of implementing video integration with the remote login token.

Purpose

To guide partners through the process of integrating R1 Learning videos within their applications using Remote Login Tokens.

Steps

  1. Generate Remote Login Token: Follow the steps outlined in the "Generating Remote Login Tokens" section.

  2. Construct the Video URL:

    • Base URL: https://discover.r1learning.com/video-library/video/play

    • Append the query parameters:

      • topic=Topic_ID: The ID of the topic of the desired video to play.

      • rlt=[REMOTE_LOGIN_TOKEN]: The generated Remote Login Token.

      • user_id=[USER_ID]: The R1 Discover ID for the user (List Company Users).

  3. Video URLs can be obtained in the View Company Topics endpoint

Example URL

https://discover.r1learning.com/video-library/video/play?topic=Topic_ID&rlt=[REMOTE_LOGIN_TOKEN]&user_id=[USER_ID]

Embedding in iFrame:

<iframe src="https://discover.r1learning.com/video-library/video/play?topic=Topic_ID&rlt=[REMOTE_LOGIN_TOKEN]&user_id=[USER_ID]" width="800" height="600" frameborder="0" allowfullscreen></iframe>

Notes

  • Ensure the URL is constructed accurately with valid tokens and IDs.

  • Test the integration in a development environment before deploying.

Last updated