| Fixed price and add button to upload own content
This commit is contained in:
parent
0531e60222
commit
d298c58e08
|
|
@ -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}
|
||||
/>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue