Merge pull request #1665 from liuboaibc/update/live-page-video

update live page
This commit is contained in:
LiuBo 2021-06-02 19:30:10 +08:00 committed by GitHub
commit 69b8580725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,12 +143,13 @@
var bindClickVideoLi = function() {
$('.video-ul').on('click', 'li', function(ev) {
var link = $(this).data('link')
var type = $(this).data('type')
if (type === 'video') {
showVideo(link)
} else if (type === 'iframe') {
showIframe(link)
}
window.open(link)
// var type = $(this).data('type')
// if (type === 'video') {
// showVideo(link)
// } else if (type === 'iframe') {
// showIframe(link)
// }
})
}