Skip to content

HTML5 SDK Players

Radiant Media Player for HLS

Downloads

In order to download the resources needed to use the System73 SDK, the following asset is provided from our CDN:


The following HTML5 code snippet shows how to include the System73 SDK for Radiant Media Player (for HLS streams), in addition to the player scripts. The needed configuration for your application and player may differ from this. Please check the player's official documentation for any further details.

Notes

Radiant Media Player dependencies should be called always BEFORE the System73's SDK dependencies.

Radiant Media Player and System73's System73 SDK dependencies should be called always BEFORE the <div> tag.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>System73 SDK Radiant Media Player integration for HLS</title>

    <!-- RMP dependencies should be always called BEFORE the System73 SDK dependencies -->
    <script src="https://cdn.radiantmediatechs.com/rmp/9.10.0/js/rmp.min.js"></script>

    <!-- RMP and System73 SDK dependencies should be always called BEFORE the video (div) tag. -->
    <script src="//cdn.s73cloud.com/4/s73-sdk-radiantplayerhls.js" type="application/javascript"></script> 
  </head>
  <body>
      <!-- Player container element -->
      <div id="rmp"></div>

      <script>
        var s73SdkConfig = {
          apiKey: '<YOUR_API_KEY>', // mandatory
          contentSteering: '<YOUR_CONTENT_STEERING_RESOURCE>', // optional
          channelId: '<CHANNEL_ID>' // optional
        };
        var playerConfig = {
           // Add your custom player configuration here
           licenseKey: '<YOUR_RMP_LICENSE_KEY>',
           // Here we set our HLS streaming source
           src: {
               hls: '<MANIFEST_URL>',
           }, 
           autoplay: true, 
           muted: true,
        };

        var wrapper = S73RadiantPlayerHlsWrapper(s73SdkConfig);
        wrapper.wrapPlayerConfig(playerConfig);

        const rmp = new RadiantMP('rmp');
        // Wrap method must be called before RMP init method.
        wrapper.wrapPlayer(rmp);

        rmp.init(playerConfig);
      </script>
  </body>
</html>

The following parameters are used when performing an integration with System73's SDK:

  • (String)YOUR_API_KEY: is a required value, and it is used as the authentication key to access to the System73 SDK network.
  • (String)YOUR_CONTENT_STEERING_RESOURCE: is an optional value, and it is used as the content steering resource URI.
  • (String)CHANNEL_ID: is an optional value, and it is used as the identifier of the desired System73 SDK's channel.

Contact us in order to obtain it.


This section was last updated 2024-11-18