pod_player icon indicating copy to clipboard operation
pod_player copied to clipboard

How to change playback speed manually

Open AnkitSuda opened this issue 1 year ago • 4 comments

Description mentions playback speed, but I could not find a function to change the playback speed.

AnkitSuda avatar Jun 26 '23 19:06 AnkitSuda

After digging up some code, I was able to change speed by using

Get.find<PodGetXVideoController>(tag: controller.getTag).setVideoPlayBack("2x")

This should be exposed to PodPlayerController.

AnkitSuda avatar Jun 26 '23 20:06 AnkitSuda

How do you get PodGetXVideoController that it is not exported. The only controller exported is src/controllers/pod_player_controller.dart

mbenci avatar Jul 12 '23 10:07 mbenci

Use this import 'package:pod_player/src/controllers/pod_getx_video_controller.dart';

AnkitSuda avatar Jul 13 '23 10:07 AnkitSuda

After digging up some code, I was able to change speed by using

Get.find<PodGetXVideoController>(tag: controller.getTag).setVideoPlayBack("2x")

This should be exposed to PodPlayerController.

can we change it to something like .setVideoPlayBack("1.1x")`

@AnkitSuda

jatinhemnani01 avatar Feb 05 '24 08:02 jatinhemnani01