Recognize video files as actual resources
What can't you do?
When dealing with VideoPlayer class, you most likely want to use it to display a video of some sort, and show it in the world. To tell it what video to use, you need a string, which is fine for Texture, Material, etc. However, for them, in a case of using a property, you can just drag a texture/material on it, and they display and work correctly in asset browser.
Here however, the string is your only option, and you can't even copy the path correctly from asset browser, because its just a "file" or something.
How would you like it to work?
Some sort of VideoFile class maybe?
Anything that gets mp4/webm a normal usability in the asset browser, with an ability to have a usual [Property], to be used with VideoPlayer.
What have you tried?
There was an option of making an empty resource for it manually, with the same extension of webm/mp4, but it compiles it into a file double in size of the original video, and still doesnt work.
[GameResource( "WebM Video", "webm", $"A video that plays in {nameof(ScreenProp)} component.", Icon = "video_file" )]
public sealed class VideoWebMResource : GameResource
{
}
Additional context
No response