Subversion Repositories SmartDukaan

Rev

Rev 18017 | Rev 18064 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18017 Rev 18023
Line 6... Line 6...
6
      var source= $(this).data('source');
6
      var source= $(this).data('source');
7
      // alert(source);
7
      // alert(source);
8
      $('#content-add').empty();
8
      $('#content-add').empty();
9
      var content = "<iframe width='100%' height='100%' src='http://www.youtube.com/embed/"+source+"?autoplay=1'></iframe>"
9
      var content = "<iframe width='100%' height='100%' src='http://www.youtube.com/embed/"+source+"?autoplay=1'></iframe>"
10
      $('#content-add').append(content);
10
      $('#content-add').append(content);
-
 
11
      var producttitle = $(this).closest(".productdetails").find(".producttitle").html().trim();
-
 
12
      ga('send', 'event', 'Video Link Clicked', producttitle, me);
11
      $('#videoModal').modal('show');
13
      $('#videoModal').modal('show');
12
    });
14
    });
13
    
15
    
14
    $('.close').click(function(){
16
    $('.close').click(function(){
15
      $('#videoModal').modal('hide');
17
      $('#videoModal').modal('hide');