mirror of
https://github.com/kubesphere/website.git
synced 2025-12-28 14:43:02 +00:00
Merge pull request #1665 from liuboaibc/update/live-page-video
update live page
This commit is contained in:
commit
69b8580725
|
|
@ -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)
|
||||
// }
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue