Skip to main content

Prior to recording

Comments

3 comments

  • Bane

    Hi Todd,

    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:

    <ziggeorecorder
        ziggeo-orientation="landscape">
    </ziggeorecorder>

    Hope that helps :)

    0
  • Todd Thompson

    Hi, checking on the ziggeo orientation parameter.

    Can I provide a custom message instead of:

    Please rotate your device to record in landscape mode

     

    0
  • Bane

    Hi Todd,

    That is a good question really :)

    We actually look to provide all of our strings as translatable strings. So the same approach as shown on this page would apply: https://ziggeo.com/docs/sdks/javascript/browser-integration/localization

    For it, you would need the following key: "ba-videorecorder.orientation-landscape-required"

    Which means that the following code should work just nicely:

    ZiggeoApi.V2.Locale.mediaLocale.register({
    "ba-videorecorder.orientation-landscape-required": "Please turn your phone to landscape position"
    }, 10);

    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.