video_player_360 0.1.3

video_player_360 #

A Flutter plugin to stream 360° videos on iOS and Android

Getting Started #

This is a Flutter plugin to play 360° videos via a remote URL.

The iOS player uses the open source Google VR SDK for iOS

The Android player uses the open source Google VR SDK for Android

Installation #

Add video_player_360: ^0.1.3 in your pubspec.yaml dependencies.

How to use #

importing the library:

import 'package:video_player_360/video_player_360.dart';

play video:

await VideoPlayer360.playVideoURL("ENTER_360_VIDEO_URL_HERE");

0.0.1 #

  • First release with iOS only.

0.0.2 #

  • Fixed typo in README

0.0.3 #

  • Hide target acquired label

0.0.4 #

  • Android support

0.0.5 #

  • Androidx library fix

0.0.6 #

  • Android Issue with Guess file type method: Disabled file types images and audio.

0.0.7 #

  • Replaced HTY360Player with GVR iOS SDK

0.0.8 #

  • Updated pubspec description

0.0.9 #

  • Android: receive config parameters

0.0.10 #

  • Android: output success response when display 360 video is loaded

0.0.11 #

  • Android: Fix VideoActivity in Portrait orientation

0.1.0 #

  • Added progress indicator
  • Added tilt placeholder view

0.1.1 #

  • Make tilt placeholder view optional

0.1.2 #

  • Android compatibility fix

0.1.3 #

  • Android compatibility fix

example/README.md

video_player_360_example #

Demonstrates how to use the video_player_360 plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  video_player_360: ^0.1.3

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:video_player_360/video_player_360.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
58
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
79
Learn more about scoring.

We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test