[DetailPanel] add launchedFromPlayer to panelInfo onClick
This commit is contained in:
@@ -106,6 +106,7 @@ export default function YouMayLike({
|
||||
panelInfo: {
|
||||
patnrId,
|
||||
prdtId,
|
||||
launchedFromPlayer: panelInfo.launchedFromPlayer,
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
@@ -93,7 +93,6 @@ function Indicator({
|
||||
prdtId: productInfo?.prdtId,
|
||||
prdtNm: productInfo?.prdtNm,
|
||||
patncNm: productInfo?.patncNm,
|
||||
// modal: autoPlaying,
|
||||
modal: true,
|
||||
shptmBanrTpNm: "MEDIA",
|
||||
modalContainerId: "indicator_videoContainer", //to calc width, height, left, top
|
||||
@@ -194,7 +193,7 @@ function Indicator({
|
||||
if (!autoPlaying && canPlayVideo) {
|
||||
setAutoPlaying(true);
|
||||
}
|
||||
}, [autoPlaying, canPlayVideo]);
|
||||
}, [autoPlaying, canPlayVideo, productInfo]);
|
||||
|
||||
const onSpotlightRight = useCallback(
|
||||
(ev) => {
|
||||
|
||||
Reference in New Issue
Block a user