video_player_360 0.1.5
video_player_360: ^0.1.5

Flutter Android iOS

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"),
          ),
        ),
      ),
    );
  }
}
15
likes
100
pub points
72%
popularity

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

Documentation

API reference

Uploader

innovationmauritiustelecom@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on video_player_360