Skip to content

Repository files navigation

NativeScript Video Player with Fullscreen support

NativeScript Video Player with Fullscreen, auto-play, on complete and on error callbacks. Tested with mp4, mp3, mov

Platform Support

Currently only support Android. Any collaborator for iOS support is welcomed!

##Android side alt tag

Usage

The plugin is developed using nativescript plugin seed (https://github.com/NathanWalker/nativescript-plugin-seed). Pls see demo for full example.

    <Video:Vidplayer id="video" src="{{ videoSrc }}" autoPlay="true" onComplete="{{ onComplete }}" onError="{{ onError }}" />

Attributes

  • src - required

Video source (online or local)

  • autoPlay - optional

Auto play true/false

  • fullScreen - optional

Default is true. Fullscreen button hide/show

  • onComplete - optional

on complete callback

  • onError - optional

on error (when video cannot be played) callback

Credit

Credit goes to the native android library (https://github.com/rtoshiro/FullscreenVideoView) by Toshiro (https://github.com/rtoshiro)

Contributing - Support for iOS?

Currently there is no support for iOS. Any suggestion (iOS library, etc) and/or contribution is welcomed!

About

NativeScript Video Player with Fullscreen, auto-play, on complete and on error callbacks. Tested with mp4, mp3, mov

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages