This topic has 2 replies, 2 voices, and was last updated 9 years by wavez.

  • Author
  • #57179
     wavez
    Participant

    Hello

    New to Kleo and fairly new to WordPress, so please be patient 🙂

    I have version 2.4.3 of the Kleo theme and I use the pinterest style layout. Each post on the page is exclusively a self hosted video post. I have a few dozen posts and at this point the page takes forever to load. I have no idea what would cause this or if the template wasn’t intended to be primarily a video based pinterest. You may want to load the site in a different browser as it literally will freeze your browser completely. I also noticed that when I load the page the memory usage goes up exponentially.

    We’re pretty early in development and as you can see we’ve done no customization to the style at all.

    the site (not an adult site) is http://www.wavezap.com

    Can you please help?

    Thank you in advance!

    #57593
     Radu
    Moderator

    Hello Wavez,

    Sorry for this inconvenience…

    This issue will be fixed in next theme update.

    Here is a fix for this problem ( see attachment )

    Upload this file ( post-content-masonry.php ) to kleo-child/page-parts/

    This issue was caused by preload=0, this it should be preload=none

    COPY CODE
    
    ---BUG---
    if ( !empty( $bg_video_args ) ) {
    	$attr_strings = array(
    			'preload="0"'
    	);
    
    
    ---FiX---
    
    if ( !empty( $bg_video_args ) ) {
    	$attr_strings = array(
    			'preload="none"'
    	);
    
    
    

    Let me know if it works.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #57598
     wavez
    Participant

    Thanks I applied the fix. While I have your attention, is there a flag or a setting I can change so that once it’s done playing the video it either shows the poster image or it rewinds it back to the beginning?

    Thanks again!

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?