update player with built-in unpack function
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
"svelte": "^2.16.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"rrweb": "^0.7.31"
|
||||
"rrweb": "^0.7.32"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
import { Replayer } from 'rrweb';
|
||||
import { Replayer, unpack } from 'rrweb';
|
||||
import 'rrweb/dist/rrweb.min.css';
|
||||
import {
|
||||
inlineCss,
|
||||
@@ -86,6 +86,7 @@
|
||||
skipInactive: true,
|
||||
showWarning: true,
|
||||
triggerFocus,
|
||||
unpackFn: unpack,
|
||||
});
|
||||
replayer.on('resize', (dimension) =>
|
||||
this.updateScale(replayer.wrapper, dimension),
|
||||
|
||||
Reference in New Issue
Block a user