-
Notifications
You must be signed in to change notification settings - Fork 186
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
Video playback issues / inconsistencies in reflow column/paginated mode, depends on codec and GPU #265
Comments
I have uploaded the sample EPUB to here: https://readiumfoundation.box.com/shared/static/5gvl49qhtrf3mow53aqhij3jn0zb0xf5.epub I have also reproduced problems on OSX with the current Chrome build. The first video in Chapter 1 works, but the second and third do not. |
UPDATE: I am not able to reproduce (OSX, Win) |
The last spine item of cc-shared-culture-20120130.epub works fine, yet the video is not in the first CSS column...now checking with the linked 132MB EPUB (Chrome, OSX). |
Ah, it's a Windows bug (cannot reproduce in OSX). |
@rkwright Ah, I cannot even reproduce the bug in Windows 8.1 (latest Chrome version). |
I can reproduce it on OSX without difficulty. In fact, with the latest dev build on OSX (Yosemite) the first video doesn't play either. No poster, just the controls - which don't work. Chrome: Version 39.0.2171.99 (64-bit) |
Works here! ?? |
Hm. Only difference I see (aside from my being in the Midwest ;-) is that I just created a new sandbox and did
Let me re-test. |
Same result. My versions are: |
My build version (copy/paste from the Readium cloud reader top-left button dialog): 2.16.0 |
So, to recap (as discussed on the conference call + email exchanges): Specifically in the case of Chrome (not other WebKit-based web browsers), Readium currently "injects" a CSS 3D nil-transform on video elements, so that they display via a hardware/GPU-accelerated rendering path. Without this "hack", videos that are located in any other CSS column (i.e. reflow page) than the first one, behave badly: inaccessible controls, invisible surface, etc. This is reproducible on both OSX and Windows. However, this seems to depend on codecs, and more importantly: on the machine's GPU/drivers! In fact, we observed that the CSS3D "hack" had the exact opposite effect on someone else's OSX machine (same OS+software version, different hardware). In other words, we solve the problem for some users, but we break video playback for others! CSS3D "hack": Note: @rkwright hand-crafted a "reduced" version of the Singapore video EPUB3, but I added a few paragraphs of text before the videos so that they get displayed in the second+ column (i.e. reflow page other than the first one), as the first column usually exhibits the correct behaviour. See Ric's EPUB here: Additional observations:
|
Somewhat related issue (same EPUB3 test is used): |
…method fails on some machines. See readium/readium-js-viewer#265 (comment)
I posted a Chromium bug report, and I handcrafted a test case (which works fine in IE and Firefox, but fails in Chrome): https://code.google.com/p/chromium/issues/detail?id=458520 http://www.daisy.org/projects/tobi/VideoCSSColumns/ @rkwright could you please try on your MacBook? |
Update with Chrome 42, and the https://code.google.com/p/chromium/issues/detail?id=458520#c9 https://code.google.com/p/chromium/issues/detail?id=421099#c16 (not quite working yet: video rendering improvement, but no visible controls) |
CSS |
Good news: this is fixed in Chrome 45...well, the video plays and can be interacted with, but it takes some guess work as the video controls are actually not rendered! Still, not as bad a bug as before. |
Hi danielweck, did you hear back from chrome team about this issue? Have they provided any solution to fix controls hide issue in videos? |
1 similar comment
Hi danielweck, did you hear back from chrome team about this issue? Have they provided any solution to fix controls hide issue in videos? |
@hihemant84 The only recent update is "Renaming Blink>Video to Blink>Media>Video for better characterization" https://bugs.chromium.org/p/chromium/issues/detail?id=458520#c17 |
This bug is now fixed in Chrome. |
From Maryam Arabi (UniSIM) maryam@unisim.edu.sg:
I’m facing an issue with the videos in my ePub course. None of them play on Chrome/Readium, unless they’re set on Continuous mode. They work fine in other readers and platforms and they all worked a few months ago after testing.
I tried to look for the solution in your Forum but unfortunately couldn’t find one.
Pls note everyone in my department has the same issue viewing the videos of these two courses. I’ve shared one of them with you through dropbox. We all use Windows 7. Below is the info requested:
OS: Windows 7
RAM: 8 Gig
Browser: Chrome
Version: 39.0.2171.99 m
The text was updated successfully, but these errors were encountered: