Commit 389bd34f authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Also register players immediately in addition to DOMContentLoaded

When watching a video file direclty in the browser it generates a video player page for you
but doesn't fire the event
parent 183c91c6
......@@ -450,6 +450,9 @@ function loadMpris() {
// In some cases DOMContentLoaded won't fire, e.g. when watching a video file directly in the browser
// it generates a "video player" page for you but won't fire the event
document.addEventListener("DOMContentLoaded", function() {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment