Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #713299

    I’m struggling on making the video I posted on my home page play as a pup-up rather than opening the video on a new page on youtube.
    I would like to display the video the same way the DEMO.
    Follow the link below and click on the ENFOLD Startup Business Demo. You’ll see how on the main banner the video plays over the main image.
    http://kriesi.at/themedemo/?theme=enfold-overview
    I really appreciate the help in advance.

    Best regards,

    #713391

    Hey PANDAIDX!

    Thanks for creating this thread. I apologize your site is down since I made a mistake in functions.php, can you remove this code at the bottom of functions.php (via ftp or cpanel):

    <script type="text/javascript">
    var $j = jQuery.noConflict();
    
    $j(function(){
    	$j("#home-slider .av_one_fourth .av_font_icon a.av-icon-char").magnificPopup({
          disableOn: 700,
          type: 'iframe',
          mainClass: 'mfp-fade',
          removalDelay: 160,
          preloader: false,
    
          fixedContentPos: false
        });
    });
    
    </script>
    <?php 
    }
    add_action('wp_footer', 'add_lightbox_script');

    Please try to replace it with:

    function add_lightbox_script(){
    ?>
    <script type="text/javascript">
    var $j = jQuery.noConflict();
    
    $j(function(){
    	$j("#home-slider .av_one_fourth .av_font_icon a.av-icon-char").magnificPopup({
          disableOn: 700,
          type: 'iframe',
          mainClass: 'mfp-fade',
          removalDelay: 160,
          preloader: false,
    
          fixedContentPos: false
        });
    });
    
    </script>
    <?php 
    }
    add_action('wp_footer', 'add_lightbox_script');

    I apologize for this, please let us know if it’s up again, and if the code isn’t working I’d like to request for ftp access.

    Regards,
    Nikko

    • This reply was modified 8 years, 1 month ago by Nikko.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.