sitespeedio / sitespeedio/browsertime
Setting ViewPort and UserAgent chops off part of the video and filmstrips
@soulgalore is already working on this.
Since Dec 17, 2023.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.