encode city.mp4 to work on iOS, document iOS video encoding restrictions
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
a-videosphere is not working in mobile safari on iOS device.
A-Frame Version: 0.3.0
Platform/Device: iPhone 6 Safari iOS ver 9.3.4
Example page shows a full black screen, finger tab will not initiate video playback.
Compared side by side with with a-video. followed steps in https://aframe.io/docs/0.3.0/primitives/a-videosphere.html#caveats. a-video works perfectly fine while a-videosphere is not on iOS
<a-assets>
<video webkit-playsinline autoplay loop crossorigin id="video" src="city.mp4"></video>
<video webkit-playsinline autoplay loop crossorigin id="video1" src="john.mp4"></video>
</a-assets>
<a-videosphere src="#video" rotation="0 180 0" ></a-videosphere>
<a-video src="#video1" width="16" height="9" position="20 0 -10"></a-video>
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 reproducing the black screen on an iPhone 6 with iOS 9.3.4 using the supplied city.mp4 and john.mp4 markup. Compare a-videosphere with a-video and review the a-videosphere caveats documentation. Done means the iOS video restriction is addressed or clearly documented, with the affected example behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, ios, javascript
- Domain
- documentation, frontend, mobile-dev, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100