[SHOPTIME-4029] Trending Now / vod 썸네일에 포커싱 시 영상 재생되지 않음
[수정사항] 변경된 선택약관 반영하면서 player pirevew 자동재생 로직이 함께 반영되서 이슈 발생 변경된 부분 삭제
This commit is contained in:
@@ -1536,27 +1536,9 @@ const PlayerPanel = ({
|
||||
return null;
|
||||
}
|
||||
|
||||
// For previews, always use the direct URL from panelInfo.
|
||||
if (panelInfo.modal) {
|
||||
return panelInfo.showUrl;
|
||||
}
|
||||
|
||||
// For fullscreen, the playlist is the primary source.
|
||||
if (
|
||||
playListInfo &&
|
||||
playListInfo.length > 0 &&
|
||||
playListInfo[selectedIndex]?.showUrl
|
||||
) {
|
||||
return playListInfo[selectedIndex]?.showUrl;
|
||||
}
|
||||
|
||||
// Fallback for fullscreen if playlist isn't ready, use panelInfo URL.
|
||||
if (!panelInfo.modal && panelInfo.showUrl) {
|
||||
return panelInfo.showUrl;
|
||||
}
|
||||
|
||||
return playListInfo && playListInfo[selectedIndex]?.showUrl;
|
||||
}, [panelInfo, playListInfo, selectedIndex, broadcast]);
|
||||
}, [playListInfo, selectedIndex, broadcast]);
|
||||
|
||||
const isYoutube = useMemo(() => {
|
||||
if (currentPlayingUrl && currentPlayingUrl.includes("youtu")) {
|
||||
|
||||
Reference in New Issue
Block a user