Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #180627

    Hi,
    I’d like to use the LeadPlayer for displaying a Youtube video in the slider area. Thought it should work fine, but it stays black. If I insert the embed code into the content area, it works well. The code looks like this.
    I understand that it’s probably not supported to be inserted there. Can you give me a hint in which php file to hard code it? It would just be for the home page, therefore I should just be able to drop the code somewhere, right?
    Thanks,
    Philipp

    #181489

    Hey hundert!

    Personally I’d try to add the code to header.php. Search for

    
    if(!empty($avia_config['slide_output'])) echo "<div id='slideshow_big'><div class='container'>".$avia_config['slide_output']."</div></div>";
    

    and replace it with

    
    if(is_home() || is_front_page()){
    	echo "<div id='slideshow_big'><div class='container'>MY CODE</div></div>";
    }
    else if(!empty($avia_config['slide_output']))
    {
    	echo "<div id='slideshow_big'><div class='container'>".$avia_config['slide_output']."</div></div>";
    }
    

    Use your player code instead of “MY CODE”.

    Cheers!
    Peter

    #181523

    Thanks, worked great! Awesome support around here :)

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘LeadPlayer in Slideshow’ is closed to new replies.