1.1.2 • Published 5 years ago

rn-lsiding-fullscreen-webview-video v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

rn-lsiding-fullscreen-webview-video

Overview

The WebView component that comes with React Native doesn't have the ability to show videos fullscreen by default. This package essentially copies the existing WebView for Android and adds some extra functionality to enable fullscreen videos. This behavior is supported by default for iOS, so this will simply use the native iOS WebView.

Getting started

yarn add rn-lsiding-fullscreen-webview-video

or

npm install rn-lsiding-fullscreen-webview-video --save

Automatically link the library

react-native link

Usage

This works exactly like the existing WebView component, so there is nothing extra that needs to be added.

import WebView from 'rn-lsiding-fullscreen-webview-video';

...

<WebView
  source={{ uri: 'https://www.youtube.com/embed/dQw4w9WgXcQ' }}
/>

MIT License.


1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago