Initialization

Native Media Player can be initiated with a single media item, a single playlist, or multiple playlists. Media Source is used to determine which you want to initiate the player with.

Initiating with a media item

  1. Add a MediaItem.prefab to your scene

  2. Select Media Item in the inspector

  3. Put the MediaItem.prefab into the Default Media Item in the inspector

Initiating with a playlist

  1. Add a Playlist.prefab to your scene

  2. Select Playlist in the inspector

  3. Put the Playlist.prefab into the Default Media Item in the inspector

Initiating with playlists

  1. Add a desired number of Playlist.prefab's to your scene

  2. Select Playlists in the inspector

  3. Put the Playlist.prefab's into the Default Media Item in the inspector

  4. You can drag and switch the orders of the playlists

Last updated