Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube improvements: enter 360 VR without having to first click YouTube's Fullscreen button, set automatic 360 Projection on YouTube 360 videos (fixes issue #1215 and issue #1056) #1217

Merged
merged 2 commits into from
May 16, 2019

Conversation

cvan
Copy link
Contributor

@cvan cvan commented May 14, 2019

…ube's Fullscreen button, set automatic 360 Projection on YouTube 360 videos (fixes issue #1215 and issue #1056)
@philip-lamb
Copy link
Contributor

@cvan This is a fix for a 1.2 headline feature, so suggest you open this PR against release-1.2 rather than master.

@cvan
Copy link
Contributor Author

cvan commented May 14, 2019

Hmm, I must have misunderstood the release planning. Is it possible for us to continue to create a release by tagging master when the tag is ready?

That is the process I am familiar with at Mozilla, and to my knowledge other similarly sized and larger-sized projects at Mozilla use the same process.

@philip-lamb
Copy link
Contributor

No, tags for release will be on the release branch. This allows non-release development to continue on master while bugs in a release candidate are addressed. I'm manually tagging release candidates on the release branch. So if you're intending your work as a fix to a release candidate, then base for your patch should be the head of the release branch.

@cvan
Copy link
Contributor Author

cvan commented May 14, 2019

This allows non-release development to continue on master while bugs in a release candidate are addressed.

Code on master should be adequately tested so it does not regress functionality or introduce new bugs. If a branch does, the PR can be reverted. Seems like a win-win to keep master clean and up to date.

@philip-lamb
Copy link
Contributor

philip-lamb commented May 14, 2019

I think you've misunderstood me; committing patches on the release branch doesn't change anything about how we use feature branches to bring work onto master. By all means if a patch made to fix a release is useful on master too, you could cherry-pick it over to a second branch off master; just this process doesn't require that. Please ping me (slack or email) if you'd like me to clarify any of the process.

@cvan
Copy link
Contributor Author

cvan commented May 14, 2019

thanks! after talking offline, I think better understand now. if it's not already, we should document these engineering processes on the Wiki (and in CONTRIBUTING.md where appropriate).

@cvan
Copy link
Contributor Author

cvan commented May 14, 2019

note to reviewers: please do not merge yet. I have a couple more test scenarios (around YouTube's SPA [single-page app] navigation) I want to evaluate (and patch) before landing. will be ready for final re-review in a few hours. thanks!

@philip-lamb philip-lamb removed the request for review from jvonitter May 14, 2019 22:44
@daoshengmu
Copy link
Contributor

It seems like I can't auto enter 360 VR mode in Focus Plus. @cvan does it work properly in Oculus Go?

@cvan
Copy link
Contributor Author

cvan commented May 15, 2019

It seems like I can't auto enter 360 VR mode in Focus Plus. @cvan does it work properly in Oculus Go?

it worked before I just pushed again to the branch. the new fixes for YouTube's SPA navigation, I'm still working on. it's a WIP. I regressed it in the last commit, d8e6a01. will be done in an hour or so. will ping you then. thanks!

if you want to preview the functionality before, you can check out eee0654. thanks, @daoshengmu 👍

@philip-lamb
Copy link
Contributor

if you want to preview the functionality before, you can check out eee0654. thanks, @daoshengmu 👍

I tested against eee0654 If I click on the video rect itself, it transitions to fullscreen nicely. I did notice that if I use the transport controls, it doesn't transition.

@cvan
Copy link
Contributor Author

cvan commented May 15, 2019

thanks, good catch, looking into it

@philip-lamb philip-lamb added P1 Fix in the current development iteration in progress compatibility Web content compatibility issues and removed P1 Fix in the current development iteration labels May 15, 2019
@cvan
Copy link
Contributor Author

cvan commented May 15, 2019

I tested against eee0654 If I click on the video rect itself, it transitions to fullscreen nicely. I did notice that if I use the transport controls, it doesn't transition.

I think I understand what you're talking about: the flicker when the Transport Controls appear on click during a 360 video playback? if so, that's a pre-existing issue with the Android UI rendering code and also occurs on master/release-1.2. could you file a separate issue for that?

…ube's Single-Page-App navigation (vs. synchonrous page loads)
@cvan cvan force-pushed the webext-youtube-360-urls branch from d8e6a01 to 7ee0e64 Compare May 15, 2019 12:30
@cvan
Copy link
Contributor Author

cvan commented May 15, 2019

@daoshengmu: @philip-lamb: @MortimerGoro: fixed; could you retest and rereview? thanks!

@MortimerGoro
Copy link
Contributor

MortimerGoro commented May 15, 2019

Nice work! I tested with https://www.youtube.com/watch?v=-xNN-bJQ4vI & https://www.youtube.com/watch?v=sPyAQQklc1s and it worked correctly on both.

But it didn't work for me when entering youtube from a google search (check this video: https://www.dropbox.com/s/piw9tvpa431bmge/youtube.mp4.zip?dl=0). It seems something related to m.youtube.com, the redirection didn't work for me

Copy link
Contributor

@daoshengmu daoshengmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I have tested it on Focus Plus, it works well.

Copy link
Contributor

@philip-lamb philip-lamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on both Go and Focus. It is a great improvement in the previous user flow for youtube 360 entry, and we have positive reviews with some edge cases that I think are worthy of follow-ups (the m.youtube.com verson, and the youtube transport controls) but I'll land this now and we can build incrementally on this work.

@philip-lamb philip-lamb merged commit 0dfb62e into master May 16, 2019
@philip-lamb philip-lamb deleted the webext-youtube-360-urls branch May 16, 2019 01:47
philip-lamb pushed a commit that referenced this pull request May 16, 2019
…ube's Fullscreen button, set automatic 360 Projection on YouTube 360 videos (fixes issue #1215 and issue #1056) (#1217)

* YouTube improvements: enter 360 VR without having to first click YouTube's Fullscreen button, set automatic 360 Projection on YouTube 360 videos (fixes issue #1215 and issue #1056)

* toggle HD-quality helper + 360°-playback improvements when using YouTube's Single-Page-App navigation (vs. synchonrous page loads)
@cvan
Copy link
Contributor Author

cvan commented May 16, 2019

thanks for reviewing and merging!

I'm in the code right now to address the m.youtube.com URLs. filed issue #1229.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Web content compatibility issues enhancement This issue is a new feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants