Initialization

Native Media Player requires at least one audio asset to be initialized. You can initialize the plugin with following options:

0. Initializing manually

Manual Initialization

1. Initializing with a media item

  1. Make sure the AutoInit options is set to true in the preferences.

  2. Add a MediaItem.prefab to your scene.

  3. Select Media Item in the inspector.

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

2. Initializing with a playlist

  1. Make sure the AutoInit options is set to true in the preferences.

  2. Add a Playlist.prefab to your scene.

  3. Select Playlist in the inspector.

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

3. Initializing with playlists

  1. Make sure the AutoInit options is set to true in the preferences.

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

  3. Select Playlists in the inspector.

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

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

Last updated