Embed your videoask in native apps

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.

General instructions

Add ?embed_type=native_app to the videoask URL, for example https://www.videoask.com/fzejn44ix?embed_type=native_app

iOS instructions

Use a WKWebView with the following settings:

Android instructions

Use a WebView with the following settings:

  • Make sure that your app already has access to RECORD_AUDIO, CAMERA¬†and¬†WRITE_EXTERNAL_STORAGE, and request permissions if it doesn't
  • Set¬†webview.settings.javaScriptEnabled¬†to true
  • You can override¬†webViewClient's¬†shouldOverrideUrlLoading¬†to return¬†true
  • You should override¬†webChromeClient's¬†onPermissionRequest¬†to 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.

Can't find what you're looking for?