Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1354370

    Hello,

    I have noticed on the website that i have linked to in the private content the Google Pagespeed loads the video twice on mobile.
    I have done these things:
    – Hide video on Mobile Devices? – Yes
    – Hide the color section on mobile
    – Created a section that only shows on mobil and it only have an image.

    What can i do to avoid this?
    You can see the loading twice under: “Avoid enormous network payloads”

    #1354462

    Hey mvi,

    Thank you for the inquiry.

    The browser actually streams the video or load it partially, but it is not loaded twice. You can check the status code of the resource in the screenshot below.

    Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvwGtIJpqGwdkeZ2EV?e=SqLb35

    More info about status code 206.

    // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206

    Also, please note that media files including mp4 videos will still be preloaded even when the elements that contain them are hidden.

    Best regards,
    Ismael

    #1354606

    Hi Ismael,

    Thank you for your good and detailed explanation for the issue.

    It all make sense and i say thank you for your help :-)

    #1354630

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1354635

    We can close it :-)

    #1354670

    Hi,

    Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Google Pagespeed load video twice’ is closed to new replies.