• Resolved JukeBoxWhiz

    (@jukeboxwhiz)


    I’m using version 4.3.1

    I’m not using the shortcode because I needed this video in my header and the shortcode wouldn’t put it there. So, I stick in the javascript reference manually before the video.

    The video is only on my homepage and the thing is my homepage loads very slowly. Speedtest websites say it loads slower than 95% of the websites worldwide.

    My other pages aren’t so bad. They load 50% faster than other websites.

    So, I suspect the video is the reason. So, how can I make sure this doesn’t preload when I’m not using shortcode?

    Or at least make sure the video doesn’t load until the rest of the page is loaded?

    https://wordpress.org/plugins/videojs-html5-video-player-for-wordpress/

Viewing 1 replies (of 1 total)
  • Plugin Author Dustin Lammiman

    (@nosecreek)

    You can use the shortcode in the header using do_shortcode:
    <?php do_shortcode('[videojs mp4="mymp4.mp4" preload="none"]'); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘How to ***not*** preload’ is closed to new replies.