broulik added a comment.
Media sessions doesn't necessarily need a player item, it's basically meant for when you don't have one. The website might remove the player item when it pauses when it's using media sessions API to do custom handling. Can't think of a better solution, though. Also, `executeScript` is used not only for this, is it? REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D13619 To: davidedmundson Cc: broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart