a20ea08ac7
Implementation: - The code is placed in <VideoJs> instead of <VideoViewer> as we need to control the video itself. It's more self-contained here, rather than trying to pass refs around between parent and child. - useState cannot be used as it will cause a re-render when the hint it clicked and dismissed. The DOM is used to hide the button. |
||
---|---|---|
.. | ||
appViewer | ||
threeViewer | ||
videoViewer | ||
codeViewer.jsx | ||
comicBookViewer.jsx | ||
documentViewer.jsx | ||
docxViewer.jsx | ||
htmlViewer.jsx | ||
imageViewer.jsx | ||
pdfViewer.jsx |