fix issue 12

master
Aaron N. Brock 4 years ago
parent 5e41f8c7a2
commit a8cd30f1d6
  1. 32
      assets/js/script.js
  2. 2
      exampleSite/data/hero.yml

@ -158,17 +158,27 @@ $(document).ready(function () {
});
// Modal Popup
$(".popup-button").magnificPopup({
type: "iframe",
iframe: {
patterns: {
youtube: {
index: "youtube.com/",
id: "v=",
src: "//www.youtube.com/embed/tgbNymZ7vqY",
},
},
},
// $(".popup-button").magnificPopup({
// type: "iframe",
// iframe: {
// patterns: {
// youtube: {
// index: "youtube.com/",
// id: "v=",
// src: "//www.youtube.com/embed/tgbNymZ7vqY",
// },
// },
// },
// });
$('.popup-button').magnificPopup({
disableOn: 700,
type: 'iframe',
mainClass: 'mfp-fade',
removalDelay: 160,
preloader: false,
fixedContentPos: false
});
$(".portfolio-item-grid").masonry({

@ -10,4 +10,4 @@ buttonName: Contact me
buttonURL: contact
image: images/hero/2960351.jpg
videoThumb: images/hero/popup-thumb.png
videoURL: https://www.youtube.com/embed/tgbNymZ7vqY
videoURL: https://www.youtube.com/watch?v=dQw4w9WgXcQ

Loading…
Cancel
Save