yoyo_player 0.0.8 copy "yoyo_player: ^0.0.8" to clipboard
yoyo_player: ^0.0.8 copied to clipboard

outdated

yoyo_player is a video player that allows you to select HLS video streaming by selecting the quality

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:yoyo_player/yoyo_player.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Scaffold(
        body: Center(
          child: YoYoPlayer(
            aspectRatio: 16 / 9,
            url:
                // "",
                "https://sfux-ext.sfux.info/hls/chapter/105/1588724110/1588724110.m3u8",
            videoStyle: VideoStyle(),
            videoLoadingStyle: VideoLoadingStyle(
              loading: Center(
                child: Text("Loading video"),
              ),
            ),
            // subtitle:
            //     "https://eboxmovie.sgp1.digitaloceanspaces.com/mmmmtest.srt",
            subtitleStyle: SubtitleStyle(),
          ),
        ),
      ),
    );
  }
}
126
likes
0
pub points
65%
popularity

Publisher

verified publisherkohtut.dev

yoyo_player is a video player that allows you to select HLS video streaming by selecting the quality

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, http, orientation, path_provider, screen, video_player, wakelock

More

Packages that depend on yoyo_player