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

Fix: Support disabling DASH player in DASH-compatible browser #140

Merged
merged 2 commits into from
May 26, 2017
Merged

Fix: Support disabling DASH player in DASH-compatible browser #140

merged 2 commits into from
May 26, 2017

Conversation

tonyjin
Copy link
Contributor

@tonyjin tonyjin commented May 24, 2017

Right now, if a user with a DASH-compatible browser disables the DASH viewer, then they cannot view any videos since the current X-Rep-Hints scheme hints to return either dash or mp4 reps, but not both. To fix this, this change updates the X-Rep-Hints sent to only send the mp4 (no filmstrip) when either the browser doesn't support DASH or if the DASH viewer is disabled.

Copy link
Contributor

@bhh1988 bhh1988 left a comment

Choose a reason for hiding this comment

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

Would much prefer next time that formatting changes are done in a separate commit, so that it's less confusing (both when reviewing and looking at past git history). Also, the commit message could use more context.

@tonyjin
Copy link
Contributor Author

tonyjin commented May 24, 2017

@bhh1988 thanks for the feedback. Right now prettier updates on every git commit and since I haven't done the large pass through all of Preview yet, this commit automatically included the formatting changes. I'll probably run through all the formatting changes first and then update this after.

@tonyjin tonyjin merged commit b292666 into box:master May 26, 2017
@tonyjin tonyjin deleted the support-disabling-dash-viewer branch May 26, 2017 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants