Save images offline, in the snapshot (#770)

* Implemented image restore from rr_dataURL

* Implement saving images in the snapshot

* Fixed image saving, added a test

* Rename data-src to data-rrweb-src

* Updated the guide

* Rename recordImages to inlineImages and try catch
This commit is contained in:
Cristi Constantin
2022-01-11 15:54:58 +00:00
committed by GitHub
parent 320a454c49
commit 69a1b9ffe6
8 changed files with 77 additions and 6 deletions

View File

@@ -4,5 +4,6 @@
<source type="image/webp" srcset="assets/img/characters/robot.webp" />
<img src="assets/img/characters/robot.png" />
</picture>
<img src="/images/robot.png" alt="This is a robot" />
</body>
</html>