mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 08:32:55 +00:00
fix video
Signed-off-by: liuboaibc <kukudehero@gmail.com>
This commit is contained in:
parent
d5fb5f64b4
commit
be511b3344
|
|
@ -162,13 +162,13 @@
|
|||
|
||||
var showIframe = function(link) {
|
||||
$('#modal-for-video video').hide()
|
||||
$('#modal-for-video iframe').attr({src: link})
|
||||
$('#modal-for-video iframe').show().attr({src: link})
|
||||
$('#modal-for-video').modal()
|
||||
}
|
||||
|
||||
var showVideo = function(link) {
|
||||
$('#modal-for-video iframe').hide()
|
||||
$('#modal-for-video video').attr({src: link})
|
||||
$('#modal-for-video video').show().attr({src: link})
|
||||
$('#modal-for-video').modal()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue