video_player_360 0.1.5 copy "video_player_360: ^0.1.5" to clipboard
video_player_360: ^0.1.5 copied to clipboard

A flutter plugin to stream 360° videos on iOS and Android via a remote URL. The plugin uses the open source Google VR SDK.

example/lib/main.dart

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

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

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

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('360 Video Player Flutter'),
        ),
        body: Center(
          child: RaisedButton(
            onPressed: () async {
              await VideoPlayer360.playVideoURL(
                  "https://github.com/stephangopaul/video_samples/blob/master/gb.mp4?raw=true");
            },
            child: Text("Click to play Video URL"),
          ),
        ),
      ),
    );
  }
}
23
likes
40
pub points
62%
popularity

Publisher

unverified uploader

A flutter plugin to stream 360° videos on iOS and Android via a remote URL. The plugin uses the open source Google VR SDK.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on video_player_360