video_360 0.0.2 copy "video_360: ^0.0.2" to clipboard
video_360: ^0.0.2 copied to clipboard

outdated

simple video 360 player

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:video_360/video_360.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: MaterialButton(
             onPressed: () =>
                Video360.playVideo(
                  'https://multiplatform-f.akamaihd.net/i/multi/will/bunny/big_buck_bunny_,640x360_400,640x360_700,640x360_1000,950x540_1500,.f4v.csmil/master.m3u8'
                ),
             color: Colors.grey[100],
             child: Text('Play Video'),
           ),
         ),
      ),
    );
  }
}
22
likes
0
pub points
79%
popularity

Publisher

unverified uploader

simple video 360 player

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on video_360