How can I embed a local video into an HTML5 Project?
I have an HTML5 project in Adobe Animate.
I drag the video component onto it, and set the source of the video. Seems pretty straight-forward.
The problem I'm having is this:
- Something like http://my_domain.com/some_path/my_video.mp4
- Works great
- Something like: /static/videos/my_video.mp4
- Does not work
If I don't know my domain name ahead of time, or it happens to be different in my dev environment and my production environment, it's very useful to use a relative path rather than an absolute URL, but no matter what I enter into the source as a relative path, the file that Animate generates has the source as "videos/my_video.mp4".
I can change the filename of the video it will look for, but the path will always be videos/. I can enter just the filename as the source, or some path like /my/videos/some_dir/my_video.mp4, and Animate will still generate a source of "videos/my_video.mp4", ignoring everything except the filename portion of what I entered as the source.
Is this a bug? Am I doing something wrong?
