playing videos in GM is cool, I also understand YoYo doesn't want to ship a codec with GM
Currently, the function does some black box stuff as well, and will only accept file names/paths that end with a .mp4 extension
you can supply the exact same file but with a different file extension and GM will not play it like a video file, despite being a mp4 file just renamed.
Describe the solution you'd like
so not only should the file extension name thing be changed, it would be nifty if we could supply a buffer to the function and have the video played from that buffer, under the hood GM already loads the video into a buffer, so it would be simple to just supply our own for it to use.
Describe alternatives you've considered
I have tried doing this myself but the function will not accept anything other than a file or file path with a specified.mp4 extension
so the function should be tweaked to be smarter about the file being supplied even if the .mp4 is named filename.myt for example
Is your feature request related to a problem?
playing videos in GM is cool, I also understand YoYo doesn't want to ship a codec with GM Currently, the function does some black box stuff as well, and will only accept file names/paths that end with a .mp4 extension you can supply the exact same file but with a different file extension and GM will not play it like a video file, despite being a mp4 file just renamed.
Describe the solution you'd like
so not only should the file extension name thing be changed, it would be nifty if we could supply a buffer to the function and have the video played from that buffer, under the hood GM already loads the video into a buffer, so it would be simple to just supply our own for it to use.
Describe alternatives you've considered
I have tried doing this myself but the function will not accept anything other than a file or file path with a specified.mp4 extension so the function should be tweaked to be smarter about the file being supplied even if the .mp4 is named filename.myt for example
Additional context
No response