Playing Local Files With VLCJVideo Library

Hi, Hopefully somebody knows about this. I want to use the VLCJ library to play video on the vlcj website it says it can stream video or play it from a local source. I have installed the library but all of the example are streaming from the web, which works. There are no examples of playing a local file. Can it play local files and if so how do I do it? Thanks

Hello @Eureka ,

This worked on my Windows 10 PC:

  // Convert file path to a URI format
  // Convert file path to a URI format
  String uri = "file:///" + sketchPath() + "/data/VID_20180520_194732867.mp4";
  println(uri);

You will have to modify for your resource location.

:)