VisualNEO Win Plugin Manual

neoVideo - Native Windows Video Player

Plugin ID:com.visualneo.neovideo
Version:1.1.9
Suite:VisualNEO Media Suite (Commercial)
Category:Multimedia / Native Video Player
Control:neo-video-player

Overview

neoVideo adds a native Windows video player to VisualNEO Win. It uses Media Foundation for primary playback with a DirectShow compatibility fallback. The video surface includes antialiased modern overlay controls for play/pause, seeking, time, volume, and fullscreen.

Controls remain visible while showControls is enabled. Fullscreen uses the monitor containing the control, and Esc restores the embedded player.

When showControls is enabled, the video uses the upper area and a dedicated control panel occupies the lower 76 pixels. The two areas do not overlap. Disabling showControls removes the panel and returns the complete control height to the video. Both surfaces follow object visibility and page navigation automatically.

Properties

PropertyTypeDefaultDescription
srcstring""Video file path or compatible media URL.
autoPlaybooleanfalseStarts playback when the source is applied.
loopbooleanfalseRestarts playback after the natural end.
showControlsbooleantrueEnables the floating playback controls.
aspectRatiostring"contain"Requested scaling mode: contain, stretch, or cover.
volumeinteger80Initial volume from 0 to 100.
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

neoVideoPlay

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

TEXT
neoVideoPlay "VideoPlayer1" "[PubDir]media/intro.mp4"
neoVideoPlay "VideoPlayer1" ""

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

neoVideoPause

TEXT
neoVideoPause "VideoPlayer1"

Pauses playback without resetting its position.

neoVideoStop

TEXT
neoVideoStop "VideoPlayer1"

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

neoVideoSeek

TEXT
neoVideoSeek "VideoPlayer1" "120"

Moves playback to the specified position in seconds.

neoVideoSetVolume

TEXT
neoVideoSetVolume "VideoPlayer1" "90"

Sets the volume from 0 to 100.

neoVideoFullscreen

TEXT
neoVideoFullscreen "VideoPlayer1" "True"
neoVideoFullscreen "VideoPlayer1" "False"

Sets fullscreen when the second parameter is present. Omitting it toggles the current state.

neoVideoGetInfo

TEXT
neoVideoGetInfo "VideoPlayer1"

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

JSON
{"position":120,"duration":3600,"volume":90,"playing":true,"fullscreen":false}

Positions and durations are expressed in seconds.

Events

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

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

Notes

  • Actual format and URL support depends on the Media Foundation codecs and DirectShow filters installed in Windows.
  • The recommended control size is 640 x 360 pixels.
  • Fullscreen is also available from the overlay button; press Esc to leave it.