[PlayerPanel] channel title dangerousHTML
This commit is contained in:
@@ -69,6 +69,10 @@ export default function LiveChannelContents({
|
||||
);
|
||||
};
|
||||
|
||||
const showNameDangerouslySetInnerHTML = () => {
|
||||
return { __html: showNm };
|
||||
};
|
||||
|
||||
return (
|
||||
<PlayerItemCard
|
||||
{...rest}
|
||||
@@ -77,7 +81,11 @@ export default function LiveChannelContents({
|
||||
logo={patncLogoPath}
|
||||
imageSource={thumbnailUrl ? thumbnailUrl : dfltThumbnailImgPath}
|
||||
videoVerticalVisible={videoVerticalVisible}
|
||||
productName={showNm ? showNm : $L("No Livestream scheduled yet")}
|
||||
productName={
|
||||
showNm
|
||||
? showNameDangerouslySetInnerHTML
|
||||
: $L("No Livestream scheduled yet")
|
||||
}
|
||||
patnerName={patncNm}
|
||||
onClick={handleItemClick}
|
||||
onFocus={handleFocus()}
|
||||
|
||||
Reference in New Issue
Block a user