JS code is not clickable on mobile devices

0

This JS code is not clickable on mobile devices. only on desktop. Someone could help me:

Test blogger link

js code

$(function() {

  var videohtml5 = $('.videoGallery .videohtml5');
  var liHeight = $('.videoGallery li').height();

  // BLOGGER
  videohtml5.click(function() {
    var videoID = $(this).attr('data-videoID');
    var videos = '<div class="meuVideo"><center> <video width="100%" controls="controls" autoplay="true" poster="https://i.imgur.com/SoclbRY.png" src="https://www.blogger.com/video-play.mp4?contentId='+videoID+'" type="video/mp4"></video></center> </div>';

    // Abro uma janela popup
    video_popup = window.open("pagina_da_popup.html","video_popup","width=400, height=200");

    $('.meuVideo, .nowPlaying').remove();

    // Insiro os dados na popup
    video_popup.document.write(videos);

  });

  // Fechar Videos
  $('.close').click(function() {
    $('.meuVideo, .nowPlaying').remove();
  });

})
    
asked by anonymous 12.10.2017 / 16:36

0 answers