1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

vidrw: further fix for #126 for browsers w/o mutationobserver support (e.g. safari)

This commit is contained in:
Ilya Kreymer 2015-09-08 12:16:30 -07:00
parent 6d25df2beb
commit 26ed3aaecd

View File

@ -109,6 +109,10 @@ __wbvidrw = (function() {
var embed = document.createElement("embed");
embed.src = wbinfo.url;
player.appendChild(embed);
if (!window.MutationObserver) {
handle_embed_tag(embed);
}
}
function handle_embed_tag(elem)