Hello, appreciate any help.
I am trying to make some animated ignition/starter screens for some dashes - however silly - and want to use MP4's (or any video format).
They don't seem to work if setup as a image, not even gif's seem to play (just the first frame). Is it possible? I looked at trying to use a url or even a local url and still couldn't get that functioning. I suspect this is easy and I just don't see the option or I'm using the wrong tool.
Nathan
Hi, this is not "officially" supported but can be done.
To include gifs and videos in some of my dashboards, I've added some custom web pages to SimHub web server.
These can be displayed on dash with "Web page view" components.
Here is a demo dash is you want to try it.
Copy the "Web" folder into C:\Program Files (x86)\SimHub and install the dash to see how it works.
And yes, performance is indeed a concern, especially when playing videos in a dash on desktop. So don't abuse it and keep an eye on SimHub cpu usage. 😉
@romainrob Brilliant - thank you - I will give it a try.. It's only being a splash screen for ignition start up I wasn't too concerned for performance - but noted!
nathan
There's another trick I figured out through trial and error to get animated gifs to play if you don't want to use custom web pages:
1) find the gif you want to use
2) save the gif into your simhub image library, but in the windows "save as" dialog box, chose the file type of "All Files", then rename your gif with a .PNG extension to save it.
3) Simhub will now think your gif is a PNG and it will show up and work normally in simhub as an animated gif.
4) this does not work with mp4 video files...just animated gifs.
P.S - moving/copying the animated gif into the image library and then renaming it to .PNG extension does not seem to work.....I have to follow the steps I listed above perfectly to make it work.
Thank you for replying.
Oddly I cannot get this to function..
I assume when you write
-------------------------
1) find the gif you want to use
2) save the gif into your simhub image library, but in the windows "save as" dialog box, chose the file type of "All Files", then rename your gif with a .PNG extension to save it.
--- this this is taking place in your web browser---------
It indeed does show up in library - but is static with all 3 gifs I tried..
This took me a moment - but appreciate it .. got it working (thank you!!).. just not with MP4's.. only webm
Regardless, it's working - appreciate you taking the time to set all that up for folks, including myself!
nathan
Unfortunately, the current text-based communication environment does not support the use of animated images or videos.