| 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}
|
playsinline={true}
|
||||||
controls={true}
|
controls={true}
|
||||||
width="100%"
|
width="100%"
|
||||||
config={{ file: { attributes: { playsInline: true, } }, }}
|
config={{ file: { attributes: { playsInline: true, autoplay: true } }, }}
|
||||||
url={content?.data?.display_options?.content_url}
|
url={content?.data?.display_options?.content_url}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ export const AudioPlayer: FC<AudioPlayerProps> = ({ src }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center space-x-4">
|
<div className="flex items-center space-x-4">
|
||||||
<audio ref={audioRef} src={src} />
|
<audio ref={audioRef} autoPlay={true} src={src} />
|
||||||
|
|
||||||
<button
|
<button
|
||||||
onClick={togglePlayPause}
|
onClick={togglePlayPause}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue