51
Views
1
Comments
[Camera.Reactive] Change Camera Orientation
camera-reactive
Reactive icon
Forge asset by Fábio Fantato
Application Type
Reactive

Hi,

It's possible to change the camera orientation? I've tried to change, but unsuccessful.

Do you have a solution or workaround for this?

2022-08-02 11-27-20
Miguel Amado
Staff

Hello Eduardo. 


I think you'll have to use css for the Video element. You can use the transform property with rotate like : 

transform: rotate(90deg); 

The problem is that the form factor will remain the same. So you'll have to put the component inside a Div and do some css using the Overflow:hidden for example, if you want to give the appearance of a portrait camera. This changes will only be appearance changes. 

If you are taking a picture from the camera, you'll have to use the Picture manipulation component (Image Utils) to cut the picture or rotate the picture to the same orientation you are showing in the screen.


Best Regards,

Miguel Amado

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.