D20582: Only consider player gone if really no longer part of the visible DOM

Fabian Vogt noreply at phabricator.kde.org
Mon Apr 15 19:12:54 BST 2019


fvogt added a comment.


  I see an opportunity for code decuplication here... Not sure how though - maybe
  
    var players = Array.prototype.slice.call(node.querySelectorAll("video,audio"));
    if (node.matches("video,audio")) {
        players.unshift(node);
    }

REPOSITORY
  R856 Plasma Browser Integration

REVISION DETAIL
  https://phabricator.kde.org/D20582

To: broulik, #plasma, fvogt
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190415/919ce009/attachment.html>


More information about the Plasma-devel mailing list