-
-
Notifications
You must be signed in to change notification settings - Fork 314
-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Cannot record video+audio on Safari 11/12/13 #332
Comments
@ledzgio can you also post the player config? |
These are the player options: var options = {
controls: true,
width: 320,
height: 240,
fluid: true,
muted: false,
plugins: {
record: {
audio: true,
video: true,
maxLength: 15,
videoMimeType: "video/webm"
}
},
html5: {
nativeTextTracks: false
},
controlBar: {
fullscreenToggle: false,
}
}; |
I also tested with Safari 12 but they have not included the MediaRecorder API that is available in Safari Technology Preview. We'll have to wait till Safari 13 (autumn 2019) I guess. Relevant webkit ticket: https://bugs.webkit.org/show_bug.cgi?id=85851 Also see https://addpipe.com/blog/safari-technology-preview-73-adds-limited-mediastream-recorder-api-support/ |
So the only version where the video record works in on the Safari Technology Preview? are there other versions supported? In the README you wrote: which in that case is not true! Can you please clarify? |
Correct.
Audio + Screen + Video + Image work in Safari Tech Preview. Audio + Image works in Safari 11/12. If you have a better way of structuring that documentation table, feel free to open a pull request. |
@thijstriemstra I know this question is popping up often here :)
What is exactly Audio + Image? Still photo, 1 frame? Big respect for the videojs-project and nice wiki on how to get it started on different frameworks! |
Did some testing with Safari iOS 12.2. After enabling MediaRecorder in Experimental Features as described in previous comment, results for online demos are:
|
@alexsorokoletov Yea it's more like Audio or Image. Image is a single snapshot, correct. I'll improve the table. Thanks for the kind words. |
@thijstriemstra thank you for the update. By the way, with iOS 12.2 (public, not beta) one can go to Settings -> Safari -> Advanced -> Experimental features and enable MediaRecorder API and the recording will work. I noticed small glitch that width and height of the recording are mixed up and because of that the video is stretched. |
As Safari 13 is released and: "Added support for the navigator.mediaDevices property of the Media Capture and Streams API to SFSafariViewController.", can you test and verify that it is working? |
What version are you using? I'm using an iPhone 6, no support for iOS 13 :-/ maybe someone else can verify.. |
Ok, thanks. I'm using iOS 13.1, Safari 13.0.1 on iPhone 7. |
Wow, Good for developers. navigator.mediaDevices supports in iOS 13. Is anyone tested in iOS 13? |
I tested with Safari 13.0.2 on OSX 10.14.x and was able to record after enabling the experimental MediaRecorder API. So Safari 13 still can't record out-of-the-box. |
I'm building audio recording functionality into a WordPress theme- it enables recording, playback, and when saved, converts to mp3 and uploads to media library https://lab.cogdogblog.com/splotbox/share-it/ It's working well but not in iOS Safari 13.3. With MediaRecorder API Experimental features on I see waveforms while recording, but on playback/saving it's flat lined nothingness. I've not been able to get it connected to my laptop to access the Web Inspector console so I can't access error messages. Any suggestions welcome. |
Any update on this one? I am trying to record video + audio on iOS with Chrome and it doesn't work. Any suggestion? |
Do you see any updates? It's very bad form to add comments like this. Also, this ticket isn't about Chrome but Safari. |
@thijstriemstra It looks like on Mac+Safari WebAssemblyRecorder working without enabling MediaRecorder, but it still not working on iOS ... How can I configure WebAssemblyRecorder or WhammyRecorder in the plugin? |
Use the |
My recordings via iOS Safari are still silent. I use this in a custom WordPress theme that incorporates Video.js to record audio. Start here https://lab.cogdogblog.com/splotbox/share-it/ and pick Method of Sharing option to "By Recording" On iOS it seems to record, I get waveforms, but the saved mp3 is silent. I added this option to my scripts
but no change in iOS Safari in this attempt https://lab.cogdogblog.com/splotbox/2020/06/29/finally-ios-maybe/ Hoping to figure this out, thanks. |
Hi guys, i have the same problem, in this moment the only way for record in IOS is enable experimental feature for MediaRecorderAPI? Its incredible i need this feature for production environment, but its some complicated that the end user must be make this.... I'm implementend one solution using Vonage Video API, but the additional work its incredible! |
Yes. |
Safari 14 produces video recordings that are corrupt using the MediaRecorder, this ticket is related to fixing the bug https://bugs.webkit.org/show_bug.cgi?id=85851 The latest Safari hopefully will have MediaRecorder out of experimental: https://bugs.webkit.org/show_bug.cgi?id=216664 / https://bugs.webkit.org/show_bug.cgi?id=216663 |
Latest Safari Tech Preview has MediaRecorder enabled by default, which contains MediaRecorder fixes. |
iOS 14.3 first beta has MediaRecorder enabled by default as well, if anybody want to try it out. |
No console errors @youennf? |
No JS console errors, the recording seems to go fine (I do not see any exception) when clicking on the record button. |
I had a look today and it seems like a WebKit bug. |
Making things more complex, just for Safari, sounds like a bad idea. |
I just tested with videojs-record 4.2.0 and video.js 7.11.4 with:
and recording audio + video worked with the default settings. So Safari versions older than 14.0.3 are not, and cannot be, supported. I will update the browser support docs and consider this closed. |
I also saw this issue, and opened a new ticket for it: #552 |
Description
Cannot record video/audio on Safari 12.0.3 using the following libraries:
Steps to reproduce
Just try to record a video using Safari browser
Results
Expected
Record the video correctly
Actual
The video has a small delay (less than 2 seconds) and when I start recording, the video doesn't stop and I see the error below in the console
Error output
Browser console produces the following:
The text was updated successfully, but these errors were encountered: