Skip to content

libvlc.VLCMediaPlayer

Andrew Lambert edited this page May 3, 2016 · 14 revisions

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

##See also

Clone this wiki locally