Open impactcolor opened 11 months ago
I'm following the example as provided in the documentation for a react build import FsLightbox from "fslightbox-react"; const previewImgModal = () => { return( <FsLightbox toggler={toggler} sources={[ <iframe src="https://player.vimeo.com/video/22439234" width="1920px" height="1080px" frameBorder="0" allow="autoplay; fullscreen" allowFullScreen />, <iframe src="//maps.google.com/maps?q=?&q=London&output=embed" width="1920px" height="1080px" allowFullScreen scrolling="no" allow="autoplay; fullscreen" />, ]} /> ) }
import FsLightbox from "fslightbox-react"; const previewImgModal = () => { return( <FsLightbox toggler={toggler} sources={[ <iframe src="https://player.vimeo.com/video/22439234" width="1920px" height="1080px" frameBorder="0" allow="autoplay; fullscreen" allowFullScreen />, <iframe src="//maps.google.com/maps?q=?&q=London&output=embed" width="1920px" height="1080px" allowFullScreen scrolling="no" allow="autoplay; fullscreen" />, ]} /> ) }
No error or anything it just doesn't load. "fslightbox-react": "^1.7.6", "react": "18.2.0",
I'm following the example as provided in the documentation for a react build
import FsLightbox from "fslightbox-react"; const previewImgModal = () => { return( <FsLightbox toggler={toggler} sources={[ <iframe src="https://player.vimeo.com/video/22439234" width="1920px" height="1080px" frameBorder="0" allow="autoplay; fullscreen" allowFullScreen />, <iframe src="//maps.google.com/maps?q=?&q=London&output=embed" width="1920px" height="1080px" allowFullScreen scrolling="no" allow="autoplay; fullscreen" />, ]} /> ) }
No error or anything it just doesn't load. "fslightbox-react": "^1.7.6", "react": "18.2.0",