-
-
Notifications
You must be signed in to change notification settings - Fork 4
libvlc.VLCMediaPlayer
libvlc.VLCMediaPlayer
##Class Declaration
Global Class VLCMediaPlayer
Inherits Canvas
##Remarks This class provides a convenient Canvas-based control that contains a VLCPlayer instance. Video output will respect the dimensions of the Canvas, completely obscuring it.
###Basic use
Drop an instance of the VLCMediaPlayer control onto your window, then use the Media
property to specify the media file or URL to be played. Media
accepts a FolderItem or String containing a fully-qualified URL. Then use the Play, Pause, and Stop methods to control the playback.
###Player backdrop The parts of the player control which are outside of the video's screen dimensions may tear and the background color of the parent window/control will bleed-through. For best results, place the VLCMediaPlayer control on a window, ContainerControl, Rectangle control, etc. with a black backdrop. See the demo window in the project for an example.
##Event Definitions
##Methods
##Properties
- CanPause As Boolean
- CanPlay As Boolean
- CanSeek As Boolean
- Equalizer As libvlc.Equalizer
- HasAudio As Boolean
- HasVideo As Boolean
- IsPlaying As Boolean
- LengthMS As Int64
- Media As libvlc.Medium
- Muted As Boolean
- Position As Single
- Scale As Single
- Speed As Single
- TimeMS As Int64
- Volume As Integer
##See also
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.
Entry-level points of interest denoted by "☜"