Skip to main content

fintel_fwfh_chewie 0.17.0-beta.1 copy "fintel_fwfh_chewie: ^0.17.0-beta.1" to clipboard
fintel_fwfh_chewie: ^0.17.0-beta.1 copied to clipboard

WidgetFactory extension to render VIDEO with the chewie plugin.

example/main.dart

import 'package:fintel_fwfh_chewie/fwfh_chewie.dart';
import 'package:fintel_widget_from_html_core/flutter_widget_from_html_core.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'fwfh_chewie',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('ChewieFactory Demo'),
        ),
        body: Center(
          child: HtmlWidget(
            '''
<video controls width="250">
  <source src="https://flutter-widget-from-html.github.io/pages/flower.mp4" type="video/mp4">
  <code>VIDEO</code> support is not enabled.
</video>''',
            factoryBuilder: () => MyWidgetFactory(),
          ),
        ),
      ),
    );
  }
}

class MyWidgetFactory extends WidgetFactory with ChewieFactory {}
0
likes
140
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

WidgetFactory extension to render VIDEO with the chewie plugin.

Topics

#video #fwfh

License

MIT (license)

Dependencies

chewie, fintel_widget_from_html_core, flutter, video_player

More

Packages that depend on fintel_fwfh_chewie