meerkat-dashboard / meerkat

Drag-and-drop dashboards for Icinga
https://meerkat.run
GNU Affero General Public License v3.0
18 stars 2 forks source link

Autoplaying video #147

Closed s2156945 closed 1 year ago

s2156945 commented 1 year ago

Describe the bug In V3 the video elements do not behave the same as in V2

Expected behavior These should be the default, or at least possible options

Additional context If this is something which can be addressed in "porting" V2 dashboards to V3, i.e. these behaviours can be not default; e.g. different types:

ollytom commented 1 year ago

I think this may be a quick change by setting autoplay in the HTML video element here

https://github.com/meerkat-dashboard/meerkat/blob/8ff1dbeb5e8c2201189aa38357c125c73f7522e2/ui/src/elements/video.jsx#L43

Ref https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video and https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide