Play HTML from local directory

Hello everybody. New at the forum, but I have been using Caspar few month now.
Playing now to use HTML and Caspar Client, but instead of using an URL I want to use a document in my localdrive. I tried to put the file path to the file (instead of the URL in the client) but It won’t work.
Anyone who knows how to do it? Thanks.

open the file in a browser and copy what is in the address bar

I use it like below.
play 1-61 [HTML] “file:///C:/casparcg/mydata/html/oneliner.html”

Ok thank you both. I’tt try it asap.

Related: How to load and play websites from arbitrary URLs