Skip to content
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

iOS 14.8: Only sound with VideoTexture when using HLS/m3u8 (works with Babylon.js) #22693

Closed
funwithtriangles opened this issue Oct 15, 2021 · 8 comments

Comments

@funwithtriangles
Copy link
Contributor

Describe the bug

VideoTexture displays black with .m3u8 stream on iOS 14.8. Sound is working. Same device with similar webGL example in Babylon isn't broken.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://tis0u.csb.app/
  2. Click to start playing video
  3. Audio plays, but no image appears on cube

A similar example in Babylon can be found here and works on the same device:
https://www.babylonjs-playground.com/#9FSDC7#49

Code

https://codesandbox.io/s/cranky-mountain-tis0u?file=/src/index.js

Live example

https://tis0u.csb.app/

Expected behavior

Both audio and video should play on the cube

Fails on:

  • Device: iPhone 8
  • OS: 14.8
  • Browser: Safari
  • Three.js version: r133

Tested and works on:

  • OSX Chrome
  • OSX Safari
  • Android Chrome
@Mugen87
Copy link
Collaborator

Mugen87 commented Oct 21, 2021

I've had the chance today to test your live example on a iPad (8th generation) with iPadOS 14.8. The video texture works as expected. I have an audio and video feed after the click.

I hope someone with an iPhone can verify this issue. Maybe it's iOS only.

@TheAwesome98-Real
Copy link

I've got an iPhone 6S running iOS 14.0.1, and it plays audio, and no video. My desktop plays both fine.

@funwithtriangles
Copy link
Contributor Author

I've got an iPhone 6S running iOS 14.0.1, and it plays audio, and no video. My desktop plays both fine.

Can you test this example, also?
https://www.babylonjs-playground.com/#9FSDC7#49

@TheAwesome98-Real
Copy link

I've got an iPhone 6S running iOS 14.0.1, and it plays audio, and no video. My desktop plays both fine.

Can you test this example, also? https://www.babylonjs-playground.com/#9FSDC7#49

Same result as the last one.

@mrdoob
Copy link
Owner

mrdoob commented Oct 30, 2021

So the Babylon version doesn't work either?

@TheAwesome98-Real
Copy link

So the Babylon version doesn't work either?

yeah, which is weird since OP said that one worked on their device

@mrdoob
Copy link
Owner

mrdoob commented Nov 13, 2021

Closing for now...

@mzvast
Copy link

mzvast commented Jun 14, 2023

Watch on this, iOS 15 still render black.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants