Prior to recording
I'd like to insert an action when the user goes to click on 'record video'. Not sure if that is possible?
The user goes to record movie, clicks on 'Record Video' and I'm thinking an alert/confirmation box to pop up prior to remind them to turn phone landscape. Finding many leave it in portrait and I'm getting a boxed video for playback.
That is nice idea. Unfortunately no. Once the recording starts it would go out of our hands at this time.
Once mobile devices can properly support WebRTC it would be possible to do that.
In our r31 however we do have an interesting parameter that you could test out and play around with (r31 is in developer preview release, will however be out officially soon).
Basically you can use orientation parameter to force specific layout of the recording - portrait or landscape.
You would add it to your HTML code as so:
Hope that helps :)0
Hi, checking on the ziggeo orientation parameter.
Can I provide a custom message instead of:
Please rotate your device to record in landscape mode0
That is a good question really :)
For it, you would need the following key: "ba-videorecorder.orientation-landscape-required"
Which means that the following code should work just nicely:
"ba-videorecorder.orientation-landscape-required": "Please turn your phone to landscape position"
Where "Please turn your phone to landscape position" would be the new string we would like to change the original one into.
Hope this helps :)0
Please sign in to leave a comment.