VisualNEO Win Plugin Manual

neoAudio - Native Windows Audio Player

Plugin ID:com.visualneo.neoaudio
Version:1.1.4
Suite:VisualNEO Media Suite (Commercial)
Category:Multimedia / Audio Playback & Sound
Control:neo-audio-player

Overview

neoAudio adds a native Windows audio player to VisualNEO Win. Playback uses Media Foundation and the control is drawn with antialiased modern transport controls. It supports local audio files, compatible media URLs, seeking, volume, looping, themes, and playback events.

The compact player contains artwork, play/pause, elapsed and total time, a seek bar, and volume control. Its colors can follow VisualNEO styles through the host fill, line, and accent colors, while plugin properties provide additional control.

Properties

PropertyTypeDefaultDescription
srcstring""Audio file path or compatible media URL.
autoPlaybooleanfalseStarts playback when the source is applied.
loopbooleanfalseRestarts playback after the natural end.
volumeinteger80Initial volume from 0 to 100.
themestring"system"system, dark, light, neon, or minimal.
accentColorstring"#0078D4"Accent color used for progress, time values, transport controls, and the speaker icon.
bgColorstring"auto"Background color as #HEX, or auto to use the host style.

Actions

neoAudioPlay

Starts or resumes playback. Supplying a different source closes the previous media before opening the new one.

TEXT
neoAudioPlay "AudioPlayer1" "[PubDir]media/music.mp3"
neoAudioPlay "AudioPlayer1" ""

Parameters: object name and an optional audio file path or media URL.

neoAudioPause

TEXT
neoAudioPause "AudioPlayer1"

Pauses the target player without resetting its position.

neoAudioStop

TEXT
neoAudioStop "AudioPlayer1"

Stops playback and resets the position to zero. A manual stop does not emit ended.

neoAudioSeek

TEXT
neoAudioSeek "AudioPlayer1" "60"

Moves playback to the specified position in seconds.

neoAudioSetVolume

TEXT
neoAudioSetVolume "AudioPlayer1" "75"

Sets the volume from 0 to 100.

neoAudioGetInfo

TEXT
neoAudioGetInfo "AudioPlayer1"

Stores a JSON string in [neoAudioResult] and [ModernPluginResult]:

JSON
{"position":45,"duration":180,"volume":75,"playing":true}

Positions and durations are expressed in seconds.

neoAudioPlaySound

TEXT
neoAudioPlaySound "[PubDir]effects/click.wav"

Plays a WAV sound effect asynchronously without a neoAudio control. This utility action accepts WAV files only.

Events

EventDescription
playPlayback starts or resumes.
pausePlayback is paused.
endedThe track reaches its natural end.
timeupdateThe playback position changes, including periodic updates while playing.

Event data can include position, duration, playing, and volume.

Notes

  • Actual format and URL support depends on the Media Foundation codecs available in Windows.
  • Use system theme for the closest integration with VisualNEO styles.
  • The recommended control size is 480 x 88 pixels; the layout adapts to narrower widths.