Giter VIP home page Giter VIP logo

Comments (6)

bigtimebuddy avatar bigtimebuddy commented on July 18, 2024

I cannot reproduce on iOS 17.5.1. Video plays as expected.

from pixijs.

Liquidream avatar Liquidream commented on July 18, 2024

I cannot reproduce on iOS 17.5.1. Video plays as expected.

Interesting. Ok thanks, I'll check to see if it's somehow network related (only other thing I can think of).

UPDATE: Ok, it's working on my iPhone, but still not on my iPad (for some reason).
Either way, looks like it's something environmental to me (for some reason).
Will update/close when I nail down what it is (or happy if ppl prefer it closed now + reopen if necc)

from pixijs.

bigtimebuddy avatar bigtimebuddy commented on July 18, 2024

Yeah please report back if you find something. Are these recent iPad and iPhone versions?

from pixijs.

bigtimebuddy avatar bigtimebuddy commented on July 18, 2024

Also, try some other WebGL content to see if is Pixi + environment or just environment.

from pixijs.

Liquidream avatar Liquidream commented on July 18, 2024

Thanks for the additional thoughts, @bigtimebuddy.

Are these recent iPad and iPhone versions?

Recent iPhone (13) with on iOS 17.5.1 works fine - as does another similar device on BrowserStack.
But my iPad (6th Gen) on same iOS 17.5.1 is not playing the video in any of the browsers (inc. private mode).

Also, try some other WebGL content to see if is Pixi + environment or just environment.

All other demos seem to work just fine (inc. others that load lots of remote assets), it's just the video demo.
Yet the v7.x version of video demo plays fine. Really weird.

I'm sure it must be something else "special" about my iPad, just not tracked down "what" yet 😅

from pixijs.

Liquidream avatar Liquidream commented on July 18, 2024

So, what I've managed to confirm (from trial and error) is that, for some reason, my iPad gets "stuck" when it hits this line in the video playground code:
const texture = await Assets.load('https://pixijs.com/assets/video.mp4');

This has been confirmed now by me (finally) finding a way to debug iOS Safari on my Windows PC (as I no longer have access to an iMac). When I put a debugger statement in before this line, then step over, it goes into an anonymous function (with reference to a workerMain.js) and just "hangs" there. 🤷

I can't see any ad-blocker settings present or enabled that could be getting in the way (don't think Apple allow that anyway). No Safari extensions installed (and same behaviour in Chrome and Edge on iOS).

Weirdly, the v7 example still works without issue - so def no issue in loading the MP4 file.
...and other demos that use await Assets.Load() (like the "Sprite" one) all seem to work without issue.

It's really bizarre! 🤔

from pixijs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.