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

vidrw: on fallback, don't replace generic 'swf' files with flowplayer!

This commit is contained in:
Ilya Kreymer 2015-07-17 19:16:10 -07:00
parent e435242d38
commit 55ddce57f8

View File

@ -438,6 +438,12 @@ __wbvidrw = (function() {
var vidId = undefined;
if (!replacement) {
// check format, if this is just an swf file, and not a video, nothing to replace!
if (get_format_ext(info) == "swf") {
return;
}
replacement = document.createElement("div", true);
vidId = "_wb_vid" + Date.now() + Math.random();