cached_video_player_plus icon indicating copy to clipboard operation
cached_video_player_plus copied to clipboard

using JkVideoControlPanel

Open zenosama1111 opened this issue 1 year ago • 3 comments

Hi @OutdatedGuy, this caching is looking great but I have a problem. I can use this JkVideoControlPanel plugin to take full control of the video with video_player library but I can't find a way it in this library.

zenosama1111 avatar Aug 13 '24 05:08 zenosama1111

How do you use it with video_player plugin? Can you provide any sample code?

OutdatedGuy avatar Aug 13 '24 14:08 OutdatedGuy

@OutdatedGuy Hi. here is my code

AspectRatio(
        aspectRatio: playerController!.value.aspectRatio,
        child: JkVideoControlPanel(
          playerController!,
          showFullscreenButton: true,
          showVolumeButton: true,
        ),
      ),

playerController is the controller of video_player library. Cached video player plus is great but I need to create my custom control panel.

zenosama1111 avatar Sep 29 '24 21:09 zenosama1111

Ahhh, looks like we need to extend the VideoPlayerController to support these packages like Chewie, JkVideoControlPanel, etc.

I have this in work, but it'll need time. Can't make any promises.

OutdatedGuy avatar Nov 27 '24 12:11 OutdatedGuy