-
-
Notifications
You must be signed in to change notification settings - Fork 4
libvlc.VLCPlayer.Media
Andrew Lambert edited this page Nov 26, 2022
·
9 revisions
Dim Media As libvlc.Medium
Gets and sets the current Medium for the player.
Because the Medium
class can automatically convert from a FolderItem or String, you may assign a FolderItem or string to this property directly.
This example assigns a FolderItem object as the Media.
Dim player As New VLCPlayer
player.Media = GetFolderItem("C:\example\music.mp3")
player.Play()
This example assigns a URL string as the Media.
Dim player As New VLCPlayer
player.Media = "http://www.example.com/video.mpg"
player.Play()
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 "☜"