On iOS devices only, black assets when programmatically creating assets. Works fine on any other browser
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
I am creating assets programmatically and would like to continue doing that. I know that the <a-asset> tag is preloading the data but I would like it created at load. For example (see URL below) the first link works fine creating it via javascript. On browsers, android phones, etc. it loads the assets just fine. When you load it up on iPhone the asset is blacked out. I assume only that the asset isn't loading. I tried playing with timeouts on assets but that does not seem to work. When you manually insert the <img> tag in the body, it will load the asset fine. The second URL shows that it works when I enter the data in statically.
- A-Frame Version: 1.0.4
- Platform / Device: iOS 13 - iPhone
- Reproducible Code Snippet or URL: https://fork-secretive-princess.glitch.me/ and https://fork-secretive-princess.glitch.me/static.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by loading the dynamic and static reproduction URLs on an iPhone and compare how their assets are created and loaded. Trace the asset-loading path used by programmatically created elements; done means those assets render normally on iOS while preserving the existing behavior on other browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- frontend, mobile-dev, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100