mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +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,
|
videoinfo.formats = [{ext: videoinfo.ext,
|
||||||
url: videoinfo.url,
|
url: videoinfo.url,
|
||||||
format_id: videoinfo.format_id
|
format_id: videoinfo.format_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user