Bitmovin Player API 8.269.0
    Preparing search index...

    The SourceConfig provided to the load method is invalid. Ensure that the SourceConfig contains at least one valid source URL for any of the supported stream types on the current platform.

    Common causes for this error include:

    • play was called before a source has been loaded

    • an empty SourceConfig object, or an object containing only empty strings instead of URLs was provided

    • the SourceConfig object didn't contain dash, hls, progressive or smooth keys

    • the provided source URL is not of type string

      The following examples show a few invalid source objects.

      @example
      var config = {
      key: "mykey"
      }
      // If you try to play without loading any source
      var player = new bitmovin.player.Player(document.getElementById('player'), config);
      player.play() // Will cause a SOURCE_INVALID

      // Empty source object.
      source = {};
      player.load(source) // Will cause a SOURCE_INVALID

      source = {
      poster: 'https://bitmovin-a.akamaihd.net/art-of-motion_drm/art-of-motion_poster.jpg',
      };
      player.load(source) // Will cause a SOURCE_NO_SUPPORTED_TECHNOLOGY
      player.play(); // Will cause a SOURCE_INVALID error

      In contrast, the following examples shows a valid source object.

      @example

      source = {
      title: 'Art of Motion',
      description: 'What is this event... Parcour?',
      dash: 'https://bitmovin-a.akamaihd.net/MI201109210084_1/mpds/f08e80da.mpd',
      hls: 'https://bitmovin-a.akamaihd.net/MI201109210084_1/m3u8s/f08e80da.m3u8',
      progressive: 'https://bitmovin-a.akamaihd.net/MI201109210084_1/MI201109210084.mp4',
      poster: 'https://bitmovin-a.akamaihd.net/art-of-motion_drm/art-of-motion_poster.jpg'
      };