-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Videos not working anymore on Chrome v76 #5996
Comments
I have the same problem. I'm also on Mac Mohave 10.14.5, Chrome Version 76.0.3809.87 (Build officiel) (64 bits), PixiJS 5.0.2. I can also confirm that the video works properly in Firefox and in Safari. |
Same problem here |
@drpepper @nicholas-slepchenko @borradaniele |
Thanks @eXponenta ! If understand your fix correctly, the trick is to wait for the promise from the video element's play() method resolve before creating the sprite. I just tried this and it worked for Chrome. However, now Firefox gives me an error and doesn't show the video:
|
@drpepper Can you create fiddle for this, Because my fix works correct on Firefox?. |
@eXponenta Thanks for the quick reply and the temp fix, I'm going to implement it in the upcoming days. |
I haven't had the time to make a fiddle, sorry. But I believe the difference for me is that I use the PIXI loader to pre-load the video. The steps I ended up following were:
I'm not very happy with this, especially the extra delay part, but it seems to work so far. |
Try this:
also see: #6023 |
Just for information, I had the same problem and I solved it adding |
@dghez It works,thank you ! |
@dghez But It dosen't work on mobile device, is there any solution? |
Weird, I tried on my Oneplus7 with Android 9 and Chrome 76.0.3809.111 and it works. |
Edit : Working now see my fix for my issue here. |
Still seeing this issue with PixiJS 5.1.2 - WebGL 2 I'm working with a Dev that has been troubleshooting this issue with his project and unfortunately has not found a fix or workaround. Warnings point to: |
Could you try the latest dev version please? #6088 might have helped this |
@themoonrat Confirmed video file issue with Chrome and Opera resolved after upgrading to PixiJS 5.1.5. Many thanks! |
@krobibero @themoonrat thanks. |
|
This implements the workaround described in: pixijs/pixijs#5996 for the Chrome issue reported at: https://bugs.chromium.org/p/chromium/issues/detail?id=898550 Fixes #294.
This seems necessary to allow using video as a texture. See: https://bugs.chromium.org/p/chromium/issues/detail?id=898550 pixijs/pixijs#5996
right!it works |
It works but it breaks Safari. Videos won't play with the preload attribute. |
Videos are not working anymore just after updating Google Chrome to v76.
Loading the video (with the app loader) and creating a Sprite using the video as texture does not work anymore. Nothing has been changed in the site source code, I've only updated Chrome. Tested the same site from the same local development server on an older version of Chrome and everything is fine. The error in console is the following
Steps to Reproduce
I get the same error on the PIXI official site in the video demo page. And the video is not playing even there.
https://pixijs.io/examples/#/sprite/video.js
Environment
Mac OS High Sierra 10.13.6
Chrome Version 76.0.3809.87 (Official Build) (64-bit)
PIXI v5.1.1
The text was updated successfully, but these errors were encountered: