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:
parent
e435242d38
commit
55ddce57f8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user