-
Notifications
You must be signed in to change notification settings - Fork 116
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: fix full screen overflow on Windows Chrome #491
Fix: fix full screen overflow on Windows Chrome #491
Conversation
`Shaka error. Code = ${shakaError.detail.code}, Category = ${shakaError.detail.category}, Severity = ${ | ||
shakaError.detail.severity | ||
}, Data = ${shakaError.detail.data.toString()}` | ||
`Shaka error. Code = ${shakaError.detail.code}, Category = ${shakaError.detail |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prettier having fun here
@@ -492,7 +491,10 @@ class DashViewer extends VideoBaseViewer { | |||
resize() { | |||
let width = this.videoWidth || 0; | |||
let height = this.videoHeight || 0; | |||
const viewport = this.wrapperEl.getBoundingClientRect(); | |||
const viewport = { | |||
height: this.wrapperEl.clientHeight, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like windows chrome was giving slightly larger values for getBoundingClientRect. I'll verify this with IE/Edge tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows Chrome getBoundingClientRect values: {height: 1275.3333740234375 , width: 1665.3333740234375}
Element clientHeight and ClientWidth values: {height: 1275, width: 1665}
No description provided.