apivideo / api.video-reactnative-player

React Native video player
https://api.video
MIT License
17 stars 2 forks source link

[Feat]: add 'responsive' property #23

Closed DmitriyNikolenko closed 2 months ago

DmitriyNikolenko commented 10 months ago

Version

v1.0.3

Environment that reproduces the issue

Devices: any iOS and Android

Use case description

For the React player, we have a 'responsive' property which automatically adjusts player size. But for the React Native pla yer we don't have it and have no ability to get a video ratio to get it manually.

1111111

Proposed solution

Provide a 'responsive' property for the React Native player.

Alternative solutions

Provide an ability to get a video ratio to get it manually.

olivierapivideo commented 2 months ago

Hey, We've added this option in the 1.1.0 version. Let us know if you encounter any issue. Regards