|
|
|
@ -352,36 +352,38 @@ export default function Index() { |
|
|
|
|
<View className='sixteen-to-nine-container'> |
|
|
|
|
<View className='content'> |
|
|
|
|
{ |
|
|
|
|
!isFree && |
|
|
|
|
<Video |
|
|
|
|
className='jimeiVideo' |
|
|
|
|
src={displayindex['src']} |
|
|
|
|
poster={displayindex['poster']} |
|
|
|
|
initialTime={0} |
|
|
|
|
controls |
|
|
|
|
autoplay |
|
|
|
|
loop={false} |
|
|
|
|
muted={false} |
|
|
|
|
onEnded={() => continuePlay()} |
|
|
|
|
onPlay={() => provingCdKey()} |
|
|
|
|
direction={90} |
|
|
|
|
id='topvideo' |
|
|
|
|
objectFit='contain' |
|
|
|
|
></Video> |
|
|
|
|
!isFree ? |
|
|
|
|
<Video |
|
|
|
|
className='jimeiVideo' |
|
|
|
|
src={displayindex['src']} |
|
|
|
|
poster={displayindex['poster']} |
|
|
|
|
initialTime={0} |
|
|
|
|
controls |
|
|
|
|
autoplay |
|
|
|
|
loop={false} |
|
|
|
|
muted={false} |
|
|
|
|
onEnded={() => continuePlay()} |
|
|
|
|
onPlay={() => provingCdKey()} |
|
|
|
|
direction={90} |
|
|
|
|
id='topvideo' |
|
|
|
|
objectFit='contain' |
|
|
|
|
></Video> : |
|
|
|
|
null |
|
|
|
|
} |
|
|
|
|
{ |
|
|
|
|
isFree && |
|
|
|
|
//@ts-ignore
|
|
|
|
|
<player-component |
|
|
|
|
className='jimeiVideo' |
|
|
|
|
title={displayindex.title} |
|
|
|
|
id='tvp-id' |
|
|
|
|
playerid='tvp' |
|
|
|
|
vid={displayindex.src} |
|
|
|
|
onEnded={() => continuePlay()} |
|
|
|
|
onPlay={() => provingCdKey()} |
|
|
|
|
autoplay |
|
|
|
|
/> |
|
|
|
|
isFree ? |
|
|
|
|
//@ts-ignore
|
|
|
|
|
<player-component |
|
|
|
|
className='jimeiVideo' |
|
|
|
|
title={displayindex.title} |
|
|
|
|
id='tvp-id' |
|
|
|
|
playerid='tvp' |
|
|
|
|
vid={displayindex.src} |
|
|
|
|
onEnded={() => continuePlay()} |
|
|
|
|
onPlay={() => provingCdKey()} |
|
|
|
|
autoplay |
|
|
|
|
/> : |
|
|
|
|
null |
|
|
|
|
} |
|
|
|
|
</View> |
|
|
|
|
</View> |
|
|
|
|