Copy link to clipboard
Copied
I know that animate does not support video import. So I have a problem, I'm writing a stand alone application using html5 canvas to be run on a browser. I will make an .exe file that when opened it will open a browser and run in it.
The thing is that in this "aplication" there are videos. I can't put an internet url because there won't be internet access and I can't set a local URL because it will be different then the one on my machine (it would be used in multiple computers across the city).
I also read that embedding a video in the project has a lot of bugs (audio sync, project size, etc...).
Is there a way to have a video file play in html5 canvas that doesn't require internet access and a way to always keep the local url the same so the project can find the file?
then you're bundling more than one file (possibly in a compressed file format that would, when decompressed, maintain file/folder structure.
in that case, just use the canvas video component and use a relative (instead of absolute) path to your video.
Copy link to clipboard
Copied
1. how are you going to force your exe to open in a browser?
2. why bother doing that if you're creating an exe?
Copy link to clipboard
Copied
I don't think I expressed myself correctly. I would have an icon on the desktop that when double clicked would execute the animate project and run it in the browser.
Copy link to clipboard
Copied
then you're bundling more than one file (possibly in a compressed file format that would, when decompressed, maintain file/folder structure.
in that case, just use the canvas video component and use a relative (instead of absolute) path to your video.