File tree Expand file tree Collapse file tree 3 files changed +4
-18
lines changed
Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,7 @@ const ImageSlider: React.FC<ImageSliderProps> = (props) => {
5656 position : "absolute" ,
5757 } } >
5858 { media [ imageIndex ] . type . includes ( "video" ) ? (
59- < video
60- autoPlay
61- loop
62- muted
63- controls
64- webkit-playsinline
65- playsInline
66- className = " md:w-auto base:w-[15rem] rounded-3xl base:h-[15rem] md:h-[18rem] mx-auto" >
59+ < video autoPlay loop muted webkit-playsinline playsInline className = " md:w-auto base:w-[15rem] rounded-3xl base:h-[15rem] md:h-[18rem] mx-auto" >
6760 < source src = { media [ imageIndex ] ?. url } type = "video/mp4" />
6861 </ video >
6962 ) : (
@@ -86,14 +79,7 @@ const ImageSlider: React.FC<ImageSliderProps> = (props) => {
8679 setImageIndex ( nextImageIndex ) ;
8780 } } >
8881 { media [ nextImageIndex ] . type . includes ( "video" ) ? (
89- < video
90- autoPlay
91- loop
92- muted
93- controls
94- webkit-playsinline
95- playsInline
96- className = " md:w-auto base:w-[15rem] rounded-3xl base:h-[15rem] md:h-[18rem] mx-auto" >
82+ < video autoPlay loop muted webkit-playsinline playsInline className = " md:w-auto base:w-[15rem] rounded-3xl base:h-[15rem] md:h-[18rem] mx-auto" >
9783 < source src = { media [ nextImageIndex ] ?. url } type = "video/mp4" />
9884 </ video >
9985 ) : (
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const NftMediaComponent: React.FC<NftMediaComponentProps> = (props) => {
1717 { nftMedia . length === 1 ? (
1818 < div className = { cn ( "flex justify-center rounded-3xl overflow-hidden" , mediaStyle ) } >
1919 { nftMedia [ 0 ] ?. fileType === "video/mp4" ? (
20- < video autoPlay loop muted controls webkit-playsinline playsInline className = "scale-[1.8]" >
20+ < video autoPlay loop muted webkit-playsinline playsInline className = "scale-[1.8]" >
2121 < source src = { nftMedia [ 0 ] ?. url } type = "video/mp4" />
2222 </ video >
2323 ) : (
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export function ThreeDCard(props: ThreeDCardProps) {
2323 < a href = { `${ MARKETPLACE_DETAILS_PAGE } ${ tokenIdentifier } ${ offerIndex ? "/offer-" + offerIndex : "" } ` } target = "_blank" className = "cursor-pointer" >
2424 { nftImgUrl . includes ( ".mp4" ) ? (
2525 < div className = "flex relative h-48 w-48 rounded-3xl overflow-hidden justify-center items-center" >
26- < video autoPlay loop muted controls webkit-playsinline playsInline className = "scale-[1.8] " >
26+ < video autoPlay loop muted webkit-playsinline playsInline className = "scale-[1.8] " >
2727 < source src = { nftImgUrl } type = "video/mp4" />
2828 </ video >
2929 </ div >
You can’t perform that action at this time.
0 commit comments