render (row) {
return h(
'video',
{
style: { width: '152px', height: '85px', borderRadius: '3px', },
autoPlay: '',
loop: '',
onClick: () => handleVideoPlay(1, row)
},
[
h('source', { src: map4, type: 'video/mp4' }),
h('source', { src: map4, type: 'video/ogg' })
]
)
}
function handleVideoPlay(){
}
示例