-
Notifications
You must be signed in to change notification settings - Fork 734
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
browser: notify user for unsupported video #7222
browser: notify user for unsupported video #7222
Conversation
88edb49
to
cd37b92
Compare
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.
Thanks @lpranam. Looks promising. Left some comments.
cd37b92
to
fadaec7
Compare
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.
Thanks @lpranam. Looks much better. Left one suggestion regarding code duplication. Best to have it in a cleaner state before we merge.
e20bf8c
to
612c6f4
Compare
055fca1
to
762798d
Compare
doesn't work: when I select video it shows snackbar with information that it is unsupported (but video can be played in my browser): |
762798d
to
c039832
Compare
NOTE: This patch does not show a warning in the slideshow as the snake bar can not be displayed over the fullscreen element. will talk to @pedropintosilva about it and fix it in the follow-up. |
I think we can remove slideshow handler here? as it will not work, we need to code "alert" in presentation_engine.js generated by LibreOffice |
detect if video is able to play via checking if any frames are decoded, in other cases(i.e: file not found or corrupted file) check for the errors in source and video Signed-off-by: Pranam Lashkari <[email protected]> Change-Id: I22bfc836a98ec0eb2caa58b89332b2531d69d18f
c039832
to
13d7f01
Compare
I cherry-picked, resolved the conflict, and pushed to master directly. I could not figure out how to push here. |
detect if video is being played by browser using fps, if fps is near zero that means video is not able to play
Change-Id: I22bfc836a98ec0eb2caa58b89332b2531d69d18f
Checklist
make check
make run
and manually verified that everything looks okay