Native Media Player
Glitch9 Inc.Main Docs.
  • Introduction
    • Native Media Player
    • Preparation
    • Initialization
  • Functionalities
    • Media Item
    • Media Metadata
    • Playlist
    • Media Events
    • UI Components
    • Android Settings
    • iOS Settings
  • Advanced
    • Manual Initialization
    • Creating Playlist at Runtime
    • Single Media Item Playlists
  • API Reference
    • MediaPlayer
      • Properties
      • Methods
    • MediaEvents
    • MediaItem
    • MediaMetadata
    • Playlist
    • Configuration Details
  • Support
    • FAQ
    • Troubleshooting
      • SeekTo (Seekbar) doesn't work
      • java.lang.NoClassDefFoundError
      • One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified
      • AndroidX Build Error: resource android:attr/lStar not found.
    • Update Logs
Powered by GitBook
On this page
  • Highlights
  • Playback Features
  • Native Event Listeners
  • Platform Support
  1. Introduction

Native Media Player

NextPreparation

Last updated 11 months ago

Welcome to the Native Media Player documentation! This powerful and versatile media player is designed to provide a seamless audio experience across both Android and iOS platforms. Built on three years of Unity audio plugin development, the Native Media Player offers a wide range of features to enhance your application's audio capabilities.

Highlights

  • Easy to Use: User-friendly interface and straightforward setup.

  • Cross-Platform API: Supports both Android and iOS, providing a consistent experience across devices.

  • Proven Technology: Based on three years of experience in Unity audio plugin development.

  • Drag and Drop Components: Simplifies the integration process with easy-to-use components.

  • Local and Remote Audio Support: Play audio from local (StreamingAssets, PersistantDataPath) and remote sources.

  • Background Playback: Continues to play audio when the app goes into the background.

  • Background Controls: Manage audio playback while the app is in the background.

  • Automatic Metadata Retrieval: Automatically fetches media metadata from the audio source.

  • Custom Metadata: Create and manage custom media metadata.

  • Modular Remote Action Buttons: Fully customizable remote action buttons for playback control.

  • Modular Event Listeners: Fully customizable event listeners to handle various playback events.

  • Unity Editor Test Mode: Test your audio setup directly within the Unity Editor.

Playback Features

  • Basic Controls: Play, Pause, Stop, Next, Previous, Fast-forward, Rewind, Seek-To.

  • Playback Modes: Repeat, Loop, Shuffle.

  • User Interface: Volume bar, Seek bar.

Native Event Listeners

  • Player States: Player Idle, Player Buffering, Player Ready, Player Ended, Player Error.

  • Metadata Updates: Metadata Changed, IsPlaying Changed, IsLoading Changed.

Platform Support

  • iOS: Supports 64-bit devices running iOS 11.0 and above.

  • Android: Supports both 32-bit and 64-bit devices running Android 7.0 and above.