albemala / native_video_player

A Flutter widget to play videos on iOS and Android using a native implementation.
MIT License
18 stars 13 forks source link

Add speed method to the package #3

Closed ljsharp closed 1 year ago

ljsharp commented 2 years ago

Reference:

No slow motion (speed) added in the package

Change

setSpeed function with one param - speed (data type: double) is added to the package. The function requires double value to sets speed value to slow down video motion between 0.0 and 1.0.

Hope it helps. Thanks.

albemala commented 1 year ago

hey, thanks for your PR!

I have implemented setting playback speed for all supported platform and included your code changes as well. I'm going to close this PR, thanks for your contribution 😃