Hi. I’m trying to get a DASH stream working in Grafana using Video.Js. I am currently running Grafana from localhost. I have enabled both the flags listed below to allow unsigned code to run in default.ini for Windows located at “C:\Program Files\GrafanaLabs\grafana\conf”.
enable_alpha = true
disable_sanitize_html = true
Here is the code I am using:
<!DOCTYPE html>
<html>
<head>
<link href="https://vjs.zencdn.net/8.3.0/video-js.css" rel="stylesheet" />
</head>
<body>
<video
id="my-video"
class="video-js"
controls
preload="auto"
width="640"
height="640"
data-setup="{}"
autoplay
muted
>
<source src="https://cdn.bitmovin.com/content/assets/art-of-motion-dash-hls-progressive/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd" type="application/dash+xml"/>
</video>
<script src="https://vjs.zencdn.net/8.3.0/video.min.js"></script>
</body>
</html>
I can confirm that Grafana 10.0.3 works with the following code. However, the latest version of Grafana at this time of writing (11.4.0) does not work. If anyone has any ideas or suggestions to try, that would be appreciated.
Bug Report: DASH Stream Failing to Play · Issue #97841 · grafana/grafana · GitHub