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

fixes for RC6:

- blockrecordloader: ensure record stream is closed after parsing one record, may help with ukwa/ukwa-pywb#53
- iframe: add allow fullscreen, autoplay
- wombat: update to latest, filter out custom wombat props from getOwnPropertyNames
- rules: add rule for vimeo
- bump version to rc6
This commit is contained in:
Ilya Kreymer 2020-01-22 13:45:44 -08:00
parent fa021eebab
commit aebd9d6359
6 changed files with 11 additions and 7 deletions

View File

@ -344,7 +344,7 @@ rules:
- videoFileId
- signature
- url_prefix: 'net,akamaized,gcs-vimeo)/'
- url_prefix: ['net,akamaized,gcs-vimeo)/', 'net,akamaized,vod)/']
fuzzy_lookup:
match: '([/\d]+\.mp4)$'

File diff suppressed because one or more lines are too long

View File

@ -20,7 +20,7 @@ html, body
<body style="margin: 0px; padding: 0px;">
<div id="wb_iframe_div">
<iframe id="replay_iframe" frameborder="0" seamless="seamless" scrolling="yes" class="wb_iframe"></iframe>
<iframe id="replay_iframe" frameborder="0" seamless="seamless" scrolling="yes" class="wb_iframe" allow="autoplay; fullscreen"></iframe>
</div>
<script>
var cframe = new ContentFrame({"url": "{{ url }}" + window.location.hash,

View File

@ -1,4 +1,4 @@
__version__ = '2.4.0-rc5'
__version__ = '2.4.0-rc6'
if __name__ == '__main__':
print(__version__)

View File

@ -2,7 +2,7 @@ from warcio.bufferedreaders import DecompressingBufferedReader
from warcio.recordloader import ArcWarcRecordLoader
from pywb.utils.loaders import BlockLoader
from pywb.utils.io import BUFF_SIZE
from pywb.utils.io import BUFF_SIZE, no_except_close
#=================================================================
@ -32,4 +32,8 @@ class BlockArcWarcRecordLoader(ArcWarcRecordLoader):
decomp_type=decomp_type,
block_size=self.block_size)
return self.parse_record_stream(stream, no_record_parse=no_record_parse)
res = self.parse_record_stream(stream, no_record_parse=no_record_parse)
no_except_close(stream)
return res

2
wombat

@ -1 +1 @@
Subproject commit b8a75357e82ef91b006be177cc3e5d827e02ff7d
Subproject commit e7242c60cf705749ca4682fae560bd2d0f655753