Files
rrweb/packages/rrweb-snapshot/test/html/picture.html
Cristi Constantin 151debad4a 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
2026-04-01 12:00:00 +08:00

10 lines
287 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<picture>
<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>