mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
vidrw: further fix for #126 for browsers w/o mutationobserver support (e.g. safari)
This commit is contained in:
parent
6d25df2beb
commit
26ed3aaecd
@ -109,6 +109,10 @@ __wbvidrw = (function() {
|
|||||||
var embed = document.createElement("embed");
|
var embed = document.createElement("embed");
|
||||||
embed.src = wbinfo.url;
|
embed.src = wbinfo.url;
|
||||||
player.appendChild(embed);
|
player.appendChild(embed);
|
||||||
|
|
||||||
|
if (!window.MutationObserver) {
|
||||||
|
handle_embed_tag(embed);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function handle_embed_tag(elem)
|
function handle_embed_tag(elem)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user