I have included some WebM video clips in my custom game, and they display correctly when I test my game locally with the Reborn Beta Tools. However, after I upload my files to the Steam Workshop and test my custom game using the regular version of Reborn, the videos do not appear. The CSS I am using is:
I was just wondering if video files are blocked by the regular Reborn application to prevent people from displaying ads or something (my videos are not ads), or are my file paths wrong? I looked inside my Workshop .vpk, and the video files are included.
I've tried other things in CSS, such as putting "{videos}" and "{movies}" tags in the url (which gives an error). I've also tried putting the videos in the "content/" branch, but the only place that I can even get them to display in the beta tools is by putting them in the "game/dota_addons/mod_name/panorama/videos" directory.
Any help is greatly appreciated, as I have consumed a lot of time trying to figure this out. Thank you!
Code:
#AnimationPanel { background-image: url("file://panorama/videos/custom_game/animation_name.webm"); background-position: 0% 0%; background-repeat: no-repeat; background-size: 100% 100%; width: 512px; height: 256px; }
I've tried other things in CSS, such as putting "{videos}" and "{movies}" tags in the url (which gives an error). I've also tried putting the videos in the "content/" branch, but the only place that I can even get them to display in the beta tools is by putting them in the "game/dota_addons/mod_name/panorama/videos" directory.
Any help is greatly appreciated, as I have consumed a lot of time trying to figure this out. Thank you!
Comment