Handle when the added node itself is audio/video
We were only looking at its children but we may also get an audio/video element added directly
Differential Revision: https://phabricator.kde.org/D13378