Add more feat to audioPlayer #173

This commit is contained in:
Prayag Prajapati committed 2023-09-18 17:05:12 +05:30
1 parent 0233962797
commit efa8b958ee
13 files changed
+424 -118

No files matched your search

+3
View File
@@ -41,6 +41,7 @@ import TextLink from "../../textLink";
* @property {bool} disableLikeButton
* @property {bool} disableMarkAsPlayedButton
* @property {string} albumBy
* @property {bool} audioPlayButton
*/
/**
@@ -61,6 +62,7 @@ const Hero = ({
disableLikeButton,
disableMarkAsPlayedButton,
albumBy,
audioPlayButton = false,
}) => {
const filterMediaStreamVideo = (source) => {
if (source.Type == MediaStreamType.Video) {
@@ -360,6 +362,7 @@ const Hero = ({
size: "large",
}}
itemUserData={item.UserData}
audio={audioPlayButton}
/>
)}
{!disableLikeButton && (