Files
rrweb/public/index.html
Jin 1f06234bdc :feat add tips (#23)
Co-authored-by: jinwentao <jinwentao@huya.com>
2026-04-01 12:00:00 +08:00

32 lines
744 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf8" />
<meta name="viewport" content="width=device-width" />
<title>dev panel</title>
<link rel="stylesheet" href="./global.css" />
<link rel="stylesheet" href="./bundle.css" />
</head>
<body>
<script src="./bundle.js"></script>
<script src="./events.js"></script>
<script>
// eslint-disable-next-line
const component = new rrwebPlayer({
target: document.body,
data: {
events,
skipInactive: true,
showDebug: false,
autoPlay: false,
showWarning: false,
},
});
component.addEventListener('finish', () => console.log('finish'));
</script>
</body>
</html>