I've been using electron for GUI interface development, recently I came across Tauri as electron alternative and coming to realize that the same code works on electron but not Tauri where:
<video controls preload src="file:\\C:\Users\User\Desktop\HelloTest\testVideo.mp4" ></video>
I've already tried:
<video controls preload src="C:\Users\User\Desktop\HelloTest\testVideo.mp4" ></video>
and the error is still Not allowed to load local resource: file:///.....
it works in electron by disabling the webSecurity:false
in webPreference
, is there any ways I can disable web security in Tauri, so that I can use local resources (videos from C:// or D://) in Tauri, my Tauri are using Angular as frontend