video: fix typo

This commit is contained in:
mDuo13
2022-02-10 14:12:56 -08:00
parent 5691d17f72
commit 1cbfe6f808

View File

@@ -2,7 +2,7 @@
$(document).ready(()=> {
//top video. Show inline replacing image
$("#playvideo").click(function(){
$("#playvideo").click(function(event){
$("#playvideo").hide();
$("#video1").show();
$("#video1")[0].src += "?autoplay=1";
@@ -10,7 +10,7 @@ $(document).ready(()=> {
});
//bottom 3. Show in overlay
$('.btn1').click(function() {
$('.btn1').click(function(event) {
var src = $(this).attr("data-url");
$("#player").attr("src", src);
$('#video, #video-overlay').fadeIn('slow');