Wrapper-specific handling like this should be done in the wrapper, eg. https://github.com/mozilla/popcorn-js/blob/master/wrappers/soundcloud/popcorn.HTMLSoundCloudAudioElement.js#L524-L528