mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
vidrw: don't replace video with generic swf entry, if present, fixes #124
This commit is contained in:
parent
52c6544186
commit
ebb9184944
@ -330,7 +330,8 @@ __wbvidrw = (function() {
|
||||
}
|
||||
}
|
||||
|
||||
if (!videoinfo.formats && videoinfo.url && videoinfo.ext && videoinfo.format_id) {
|
||||
if (!videoinfo.formats && videoinfo.url && videoinfo.ext && videoinfo.format_id &&
|
||||
!(videoinfo.ext == "swf" && videoinfo.format_id == "0")) {
|
||||
videoinfo.formats = [{ext: videoinfo.ext,
|
||||
url: videoinfo.url,
|
||||
format_id: videoinfo.format_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user