-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Firefox VideoTexture flipped #30471
Comments
You use a very outdated three.js version that we don't support anymore. Please upgrade the codepen to the latest release The official video texture examples work without issues in Firefox 135: https://threejs.org/examples/?q=video |
Sorry @Mugen87, I recycled an old coldepen. But the problem still on the lastest version. https://jsfiddle.net/79jn4r16/27/ I suspect the problem comes from metadata from the video probably taken with a cell phone. |
You are right. This issue seems to be caused by rotation metadata (https://blog.addpipe.com/mp4-rotation-metadata-in-mobile-video-files/). When looking at the respective resources online, there seems to be no viable fix for WebGL though. It would probably best to transcode the video (e.g. via ffmpeg) without rotation so it works in all browsers in the same way. Otherwise you might want to file an issue at Bugzilla. It's open for debate whether using a video as a data source for textures should honor the rotation metadata. It's definitely not a help if Firefox behaves differently compared to all major browsers. |
Thanks for your quick response. |
Closing this issue as a |
Description
Hi, on last version of Firefox v135 (and maybe before) the VideoTexture are flipped of 90°.
It works fine on Chrome/Edge.
It provided a codepen sample.
Reproduction steps
1.Just display a video in any plane. codepen sample provided.
2.
3.
Code
Live example
Screenshots
Version
0.173.0
Device
Desktop
Browser
Firefox
OS
Windows
The text was updated successfully, but these errors were encountered: