If you want to use VideoAsk in your native mobile application, here's what you need to know.
Videoasks can be used in native mobile apps by loading them in WebViews. Just add the parameters and settings described below to your native app for an optimal experience with VideoAsk video and audio recordings.
?embed_type=native_app to the videoask URL, for example,
WKWebView with the following settings:
The record button is hidden when opening a videoask in a WebView of my iOS app, so it makes it tricky for respondents to answer. How can I solve this?
This can be fixed by adding a little extra code to your embed code:
let configuration = WKWebViewConfiguration() configuration.allowsInlineMediaPlayback
= true webView = WKWebView.init(frame: .zero,
WebView with the following settings:
- Make sure that your app already has access to
WRITE_EXTERNAL_STORAGE, and request permissions if it doesn't
- You can override
- You should override
onPermissionRequestto automatically grant permissions
You can find a complete example here.
To detect that a videoask was completed, use the Redirect to URL feature to send users to a URL on completion, and listen to the URL change event.