if ($iframe.length == 1) {
            player.href = $iframe.attr('src');

            if (whitelistRecord.isAllowed('oembed.video', 'ssl')) {
                player.href = player.href.replace(/^http:\/\//i, '//');