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

MediaSource is undefined in ios, i use blob url to open the video, the video plays with sounds but no pictures #385

Open
sunnylife24 opened this issue May 25, 2021 · 2 comments

Comments

@sunnylife24
Copy link

const blob = new Blob([bytes],{type:'video/mp4'})
const url =window.URL.createObjectURL(blob)
const link = document.createElement('a')
const body = document.querySelector('body')
link.href = url
link.download = 'test'
link.style.display = 'none'
body.appendChild(link)
link.click()
body.removeChild(link)

@gkatsev
Copy link
Member

gkatsev commented Jun 24, 2021

Unfortunately, iPhones/iOS do not have Media Source Extensions.

@zhaoaaaaa5
Copy link

Unfortunately, iPhones/iOS do not have Media Source Extensions.

Ts to MP4, only time and progress bar can play on iPhone, but you can't play pictures and sounds, is that the same reason

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

No branches or pull requests

3 participants