simply using window.open works for everything ive tested in IE, however when it comes to Google Chrome, the exact code just opens up a blank new tab.
ive tried these combinations:
- Network Drives window.open("\\\\Server\\Data\\NewFolder\\Video.mp4");
- Local Drives Network Drives window.open("C:\\NewFolder\\Video.mp4");
- Chromes way of file viewing: window.open("file:///C://NewFolder//Video.mp4")
am I doing something wrong here or does Chrome have its own way of opening and displaying files?
what I want to happen is for Chrome to either play the .mp4 file itself or open it in Windows Media Player but neither happens.
cheers for any help
if I was to type in file:///C:/NewFolder/Video.mp4 then this would play the file in chrome. using window.open does absolutely nothing other than display about:blank. it will however open a web url but not a file on my computer or a server