| Fixed price and add button to upload own content

This commit is contained in:
rakhimovkamran 2024-09-13 19:52:41 +05:00
parent 0531e60222
commit d298c58e08
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ export const ViewContentPage = () => {
playsinline={true}
controls={true}
width="100%"
config={{ file: { attributes: { playsInline: true, } }, }}
config={{ file: { attributes: { playsInline: true, autoplay: true } }, }}
url={content?.data?.display_options?.content_url}
/>
)}

View File

@ -74,7 +74,7 @@ export const AudioPlayer: FC<AudioPlayerProps> = ({ src }) => {
return (
<div className="flex items-center space-x-4">
<audio ref={audioRef} src={src} />
<audio ref={audioRef} autoPlay={true} src={src} />
<button
onClick={togglePlayPause}