• Resolved Manos G

    (@manouallou)


    Hi,
    I have added a self-hosted video to my homepage and even if I have set the preload=”none” parameter it is still loading. At least this is what GTmetrix and Pingdom Tools show. This makes my page size huge!

    Here is my shortcode:

    [evp_embed_video url="https://www.nommoswimwear.com/wp-content/uploads/2017/01/Lookbook-video.mp4" poster="https://www.nommoswimwear.com/wp-content/uploads/2017/02/logo-black-background-pr.jpg" ratio="0.562" preload="none" class="color-alt"]

    Is there a solution to this?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Noor Alam

    (@naa986)

    Hi, I believe it needs to be done with the “is-splash” modifier class. For example:

    [evp_embed_video url="https://www.nommoswimwear.com/wp-content/uploads/2017/01/Lookbook-video.mp4" poster="https://www.nommoswimwear.com/wp-content/uploads/2017/02/logo-black-background-pr.jpg" ratio="0.562" class="is-splash color-alt"]

    • This reply was modified 7 years, 8 months ago by Noor Alam.
    Thread Starter Manos G

    (@manouallou)

    Hi,
    Thanks for the reply. I used the following shortcode:

    [evp_embed_video url="https://www.nommoswimwear.com/wp-content/uploads/2017/03/Nommo-lookbook-video.mp4" poster="https://www.nommoswimwear.com/wp-content/uploads/2017/02/logo-black-background-pr.jpg" ratio="0.562" class="is-splash color-alt2 fp-slim"]

    This seems to have solve the problem with GTMetrix but not with Pingdom Tools. Pingdom shows that it is downloading 5.0MB of the total 15 MB video. Don’t know why though but anyway it is OK for now.

    I also updated the plugin to the latest version and now I am getting 6 separate connection errors in Pingdom and the culprit is the “cast_sender.js”. I didn’t have such a problem before.
    I think it has to do with the Cast feature found in Chrome browsers. Can you please confirm?

    Thanks for the support

    Plugin Author Noor Alam

    (@naa986)

    It appears that Chrome attempts to get cast_sender.js on pages that have YouTube content. I’m guessing when Chrome sees media that it can stream it attempts to access the Chromecast extension. When the extension isn’t present, the error is thrown.

    https://stackoverflow.com/questions/25814914/chrome-youtube-cast-sender-js-console-error/27448688

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Video preloads even if set to “preload=none”’ is closed to new replies.