sitespeedio / sitespeedio/browsertime

Setting ViewPort and UserAgent chops off part of the video and filmstrips

Open
#1,222 16 comments 0 reactions 1 assignee View on GitHub

@soulgalore is already working on this.

Since Dec 17, 2023.

bug
Dominant language
JavaScript
Stars
652
Forks
141
Avg merge
3h 56m
Merged PRs (30d)
5

Description

When I run the following command:

docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:12.2.2 https://www.sitespeed.io --mobile

I get a set of filmstrips and videos that use the OOTB iPhone6 UserAgent and ViewPort in my tests.

If I run docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:12.2.2 https://www.sitespeed.io --browsertime.viewPort 360x640 --browsertime.userAgent "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1"

Which uses exactly the same UserAgent and ViewPort I get a section of the video and filmstrips removed.

I have attached the two runs.
2020-03-19-10-06-46.zip
2020-03-19-10-09-38.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.