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 Initialization1. Initializing with a media item
Make sure the
AutoInit
options is set totrue
in the preferences.Add a MediaItem.prefab to your scene.
Select Media Item in the inspector.
Put the MediaItem.prefab into the Default Media Item in the inspector.

2. Initializing with a playlist
Make sure the
AutoInit
options is set totrue
in the preferences.Add a Playlist.prefab to your scene.
Select Playlist in the inspector.
Put the Playlist.prefab into the Default Media Item in the inspector.

3. Initializing with playlists
Make sure the
AutoInit
options is set totrue
in the preferences.Add a desired number of Playlist.prefab's to your scene.
Select Playlists in the inspector.
Put the Playlist.prefab's into the Default Media Item in the inspector.
You can drag and switch the orders of the playlists.

Last updated