@azesmway/react-native-rutube
TypeScript icon, indicating that this package has built-in type declarations

0.1.14 • Public • Published

@azesmway/react-native-rutube

React Native Rutube plugin

Installation

npm install @azesmway/react-native-rutube react-native-webview

or

yarn add @azesmway/react-native-rutube react-native-webview

Usage

import RutubeView from "@azesmway/react-native-rutube";

// ...

<RutubeView
  source={'https://rutube.ru/video/3754df0851ce78756a6ca0e0a95689fc/'}
  width={400}
  height={200}
/>

// ...

Links supported

https://rutube.ru/video/3754df0851ce78756a6ca0e0a95689fc/
https://rutube.ru/play/embed/3754df0851ce78756a6ca0e0a95689fc
https://rutube.ru/pl/?pl_id&pl_type&pl_video=3754df0851ce78756a6ca0e0a95689fc

Props

  • source: string - url rutube video
  • width: number - Rutube width component
  • height: number - Rutube height component
  • webViewStyle?: ViewStyle - style for RutubeView
  • webViewProps?: {} - props for WebView

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i @azesmway/react-native-rutube

Weekly Downloads

3

Version

0.1.14

License

MIT

Unpacked Size

34.3 kB

Total Files

9

Last publish

Collaborators

  • azesm.dev
  • azesm.way