update RRWebplayer config to fix seek issues and warning suppression
This commit is contained in:
1 parent
80fee9f321
commit
ea8ebb1a54
1 file changed
+3
-1
@@ -1,7 +1,7 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
import { useMobile } from '@/components/hooks';
|
||||||
import { Column } from '@umami/react-zen';
|
import { Column } from '@umami/react-zen';
|
||||||
import { useEffect, useRef, useState } from 'react';
|
import { useEffect, useRef, useState } from 'react';
|
||||||
import { useMobile } from '@/components/hooks';
|
|
||||||
import 'rrweb-player/dist/style.css';
|
import 'rrweb-player/dist/style.css';
|
||||||
|
|
||||||
export function ReplayPlayer({ events }: { events: any[] }) {
|
export function ReplayPlayer({ events }: { events: any[] }) {
|
||||||
@@ -32,6 +32,8 @@ export function ReplayPlayer({ events }: { events: any[] }) {
|
|||||||
autoPlay: false,
|
autoPlay: false,
|
||||||
showController: true,
|
showController: true,
|
||||||
speedOption: [1, 2, 4, 8],
|
speedOption: [1, 2, 4, 8],
|
||||||
|
useVirtualDom: false,
|
||||||
|
showWarning: false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user