I'm sorry if it is a silly question but I really can't figure out how to send local file to chromecast default media receiver.
var url = "http://localhost:3000/myvideo.mp4"
var mediaInfo = new chrome.cast.media.MediaInfo(url, 'video/mp4');
I tried using "http://localhost/myvideo.mp4", "http://localhost:3000/myvideo.mp4", "http://127.0.0.1/myvideo.mp4", "http://127.0.0.1:3000/myvideo.mp4" but nothing happens. The file it's in the server but it always fail to load. It's something so simples but I can't figure out. I'm going nuts!