{"_id":"@daiosfoundation/react-native-vlc-media-player","_rev":"2-cb834b569efaf703ce8a20a7e42eba2c","name":"@daiosfoundation/react-native-vlc-media-player","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@daiosfoundation/react-native-vlc-media-player","version":"0.0.1","description":"React native media player for video streaming and playing. Supports RTSP,RTMP and other protocols supported by VLC player","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["vlc","player","android","ios","react-native","mp4","rtsp","media","video"],"author":{"name":"rich@daiblab.com"},"dependencies":{"react-native-slider":"^0.11.0","react-native-vector-icons":"^6.6.0"},"repository":{"type":"git","url":"git+https://github.com/DAIOSFoundation/react-native-vlc-media-player.git"},"license":"MIT","bugs":{"url":"https://github.com/DAIOSFoundation/react-native-vlc-media-player/issues"},"homepage":"https://github.com/DAIOSFoundation/react-native-vlc-media-player#readme","devDependencies":{},"gitHead":"c4c7dc1c35815a989065b8ed4fc540ea8348a2eb","_id":"@daiosfoundation/react-native-vlc-media-player@0.0.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-bI/uNMQk8gYg38D/qZlPgRSyCrS9adGfhqhxrR0o6aoKwZxQ1vohh1r9+gvCtOIQdDPO4zBmYl4o8qIlWHK5LQ==","shasum":"bceddf02a4a58d95786f280e0ad941978de131e3","tarball":"https://registry.npmjs.org/@daiosfoundation/react-native-vlc-media-player/-/react-native-vlc-media-player-0.0.1.tgz","fileCount":34,"unpackedSize":218612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffr22CRA9TVsSAnZWagAAv9YP+wXBl3VCgUu5wU7qH0XD\nEaf/owpS8GbYlz1QS8ntr71Lv2ygXgWy2nQyQvLtvF6bHHJ7OKN0AHsyCvX/\nlenn7s/SK+NtjcOLXDqDGWCydxi7UpvnW/DLtWcFBV8eAAqVoxz8IHSy2e+B\ntQLhgMwN6VimOI0p6685i/c9bXEc6ID0IeSq7d9VtzolPsje/LXDo8Oj7i22\nAfPROJi1vME3n5+mZ1UekB2P2aMmn9UPHmqIvJ4wKfFdnmPa6NGKx6y58OM3\nX4Y+4XCpWBdS7MIGKw5IGRYZAsnxaw3TrMdY1OhtJVetVm1kc587Ti+HdiJF\nX9LJvPViS2xwZhePvEI0NVYAmgt67nt1FHgGv3MAqct+mRYcPlGejZkRKqad\nd31sB3XVBy0uNGrsYraVVHSmmtQHEgUAaMQL+af230kkYbwX/kyQd372Txzw\nL5SeQv9+gTX43Rcb8E1S+kvBp5nZNWP/O7wjpvi1E7hiCp7Wjx+c3rcY1dIe\nKg9Kwav6HuuhhIT+phBaTcxtJr3LZFvuZ2NMffuMnfwG52/Dtz5PbXEUtTxK\nmyT3GqEi8RmiKxbDkLPe/8UDMIeAR7nvOWkdtcvKzyM602E8O47i1oqKTGsq\nYwK12k0R7yXp806o7xmj7fOmFQ5OzmlV05b8GDelX+0jvauS+x9HbxqD1jHf\njD9t\r\n=6+oA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYIiOLLxDjIn1r83OwxjEWAthHJeSGGgqJ1n8wcoD2hAiEAtcKH/TnXqSY/fapW0YCwxjrdem3SE1NuenofM7Epe5c="}]},"maintainers":[{"name":"kanghyeok93","email":"rkdgur7007@gmail.com"},{"name":"0strich","email":"rich@daiblab.com"},{"name":"secrecy418","email":"secrecy418@gmail.com"},{"name":"whackur","email":"ioumelon7@gmail.com"}],"_npmUser":{"name":"0strich","email":"rich@daiblab.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-vlc-media-player_0.0.1_1602141622019_0.5732762232461541"},"_hasShrinkwrap":false},"0.0.2":{"name":"@daiosfoundation/react-native-vlc-media-player","version":"0.0.2","description":"React native media player for video streaming and playing. Supports RTSP,RTMP and other protocols supported by VLC player","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["vlc","player","android","ios","react-native","mp4","rtsp","media","video"],"author":{"name":"rich@daiblab.com"},"dependencies":{"react-native-slider":"^0.11.0","react-native-vector-icons":"^6.6.0"},"repository":{"type":"git","url":"git+https://github.com/DAIOSFoundation/react-native-vlc-media-player.git"},"license":"MIT","bugs":{"url":"https://github.com/DAIOSFoundation/react-native-vlc-media-player/issues"},"homepage":"https://github.com/DAIOSFoundation/react-native-vlc-media-player#readme","devDependencies":{},"gitHead":"f30ce68336f16c193b542cb6e1f01d79b25d6e18","_id":"@daiosfoundation/react-native-vlc-media-player@0.0.2","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-yL3SsKiJ2rSoZz5GljW28eRN4h5p8SOUjuZZR3730spmiBkbdWnxwGffBWCfKJ65jaVm4EUbI5JTZvaDCVehQg==","shasum":"18f06a97df487fc6bde5c59e70202602567918a4","tarball":"https://registry.npmjs.org/@daiosfoundation/react-native-vlc-media-player/-/react-native-vlc-media-player-0.0.2.tgz","fileCount":34,"unpackedSize":218611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffr6ECRA9TVsSAnZWagAAtzsP/1GH36DPEOoVM0iueMsT\ncVKGFUIPh2y/Wt6RG8a12PwbAGehGhj1o90p8/nXR+IbV6wvYAy4s2ne6nTz\ntwliSpLjGoHaCzEwKzsKEEQFcNQ3wCVhQh4rEZ0P+URup1JEVsZ6e1eO3h7L\nfWCar1jKW2Dhz3vPpZ6JkRqIFrBg0gjFp/Sa2GbGL87O+h3ysQhK/u8xluA0\ngabC+uyHaeFJBuoarZoiJStlOSJYqSZuF0AiVyyI3Z/KQKe3jkZqnsWpaAfT\nYPm/7Zu0ihbvPiKbPMHGvL0XgKsQKONhQh9HVLwIvdSMiZ1DY3VDFvjTHCis\nVv8KLufKUZcZQr580CKRDJ4vOyG6AIK0I4UESWiqpRUaEcSqlO5yPjVwuABB\nqPTR+CqZpmwJswGykSQ3foHMfpdeWigAylt/K0nf8mH9RsMqEGjV+FJIM6Eo\ngfAN4E61d8gfnCCoM1uySPhvi+4EEyRr+WJDj307//n4lVNWHHZ4ADaDQP/5\nSJCLM58knVX+WxIFhX/D7RJAKg/BmPyz58xYJQymYjLyIKhxcSXRxZjdLUrO\nMW+/uMIMIPTYA0FAUu7BJ6gvoELkzPuAkGwPpw9TFA2Js/XRuRsZAchSxLOx\nRp4MRH07Q0hUYOaHbg7rO6kuBi+vKXxp1FrJQ+kcbJxPLcgiBobUQ09+DhYu\nEasI\r\n=Es+V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKLMpi2eVNpcQ0JhdvBTuR9CujCj95/3DMqA/XgNVj5gIgVVysEF6tcq/4ieUQa/THtXj8VD4n90IwUeXr8NOyCsc="}]},"maintainers":[{"name":"kanghyeok93","email":"rkdgur7007@gmail.com"},{"name":"0strich","email":"rich@daiblab.com"},{"name":"secrecy418","email":"secrecy418@gmail.com"},{"name":"whackur","email":"ioumelon7@gmail.com"}],"_npmUser":{"name":"0strich","email":"rich@daiblab.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-vlc-media-player_0.0.2_1602141827859_0.24598292772661612"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-08T07:20:21.778Z","0.0.1":"2020-10-08T07:20:22.174Z","modified":"2022-04-05T02:34:16.674Z","0.0.2":"2020-10-08T07:23:48.019Z"},"maintainers":[{"name":"kanghyeok93","email":"rkdgur7007@gmail.com"},{"name":"0strich","email":"rich@daiblab.com"},{"name":"secrecy418","email":"secrecy418@gmail.com"},{"name":"whackur","email":"ioumelon7@gmail.com"}],"description":"React native media player for video streaming and playing. Supports RTSP,RTMP and other protocols supported by VLC player","homepage":"https://github.com/DAIOSFoundation/react-native-vlc-media-player#readme","keywords":["vlc","player","android","ios","react-native","mp4","rtsp","media","video"],"repository":{"type":"git","url":"git+https://github.com/DAIOSFoundation/react-native-vlc-media-player.git"},"author":{"name":"rich@daiblab.com"},"bugs":{"url":"https://github.com/DAIOSFoundation/react-native-vlc-media-player/issues"},"license":"MIT","readme":"# Forked By DaiosFoundation\n# react-native-vlc-media-player\n\nA `<VLCPlayer>` component for react-native\nproject was initially cloned from `react-native-yz-vlcplayer` And been actively maintaining it as original repo is not been maintained by the owner.\n\n## Supported RN Versions\n\n0.59,0.60,0.61, 0.62 and up\nPODs are updated to works with 0.61 and up.(Tested in 0.61.5 and 0.62)\n\n## Sample repo\n\n[VLC Media Player test](https://github.com/razorRun/react-native-vlc-media-player-test)\n\n## Supported formats\n\nSupport for network streams, RTSP, RTP,RTMP, HLS, MMS.\nPlay all files, in all formats, including exotic ones, like classic VLC media player.\nPlay MKV, multiple audio tracks (including 5.1), and subtitles tracks (including SSA!)\n\n### Add it to your project\n\nRun\n\n`npm i react-native-vlc-media-player --save`\n\nRun `react-native link react-native-vlc-media-player`\n\n## android\n\nShould work without any specific settings\n\n## ios\n\n1. cd to ios\n2. run `pod init` (if only Podfile has not been generated in ios folder)\n3. (No need if you are running RN 0.61 and up) add `pod 'MobileVLCKit', '3.3.10'` to pod file\n4. run `pod install` (you have to delete the app on the simulator/device and run `react-native run-ios` again)\n\n## Optional(only for ios)\n\nEnable Bitcode\nin root project select Build Settings ---> find Bitcode and select Enable Bitcode\n\n## More formats\n\nContainer formats: 3GP, ASF, AVI, DVR-MS, FLV, Matroska (MKV), MIDI,QuickTime File Format, MP4, Ogg, OGM, WAV, MPEG-2 (ES, PS, TS, PVA, MP3), AIFF, Raw audio, Raw DV, MXF, VOB, RM, Blu-ray, DVD-Video, VCD, SVCD, CD Audio, DVB, HEIF, AVIF\nAudio coding formats: AAC, AC3, ALAC, AMR, DTS, DV Audio, XM, FLAC, It, MACE, MOD, Monkey's Audio, MP3, Opus, PLS, QCP, QDM2/QDMC, RealAudio, Speex, Screamtracker 3/S3M, TTA, Vorbis, WavPack, WMA (WMA 1/2, WMA 3 partially).\nCapture devices: Video4Linux (on Linux), DirectShow (on Windows), Desktop (screencast), Digital TV (DVB-C, DVB-S, DVB-T, DVB-S2, DVB-T2, ATSC, Clear QAM)\nNetwork protocols: FTP, HTTP, MMS, RSS/Atom, RTMP, RTP (unicast or multicast), RTSP, UDP, Sat-IP, Smooth Streaming\nNetwork streaming formats: Apple HLS, Flash RTMP, MPEG-DASH, MPEG Transport Stream, RTP/RTSP ISMA/3GPP PSS, Windows Media MMS\nSubtitles: Advanced SubStation Alpha, Closed Captions, DVB, DVD-Video, MPEG-4 Timed Text, MPL2, OGM, SubStation Alpha, SubRip, SVCD, Teletext, Text file, VobSub, WebVTT, TTML\nVideo coding formats: Cinepak, Dirac, DV, H.263, H.264/MPEG-4 AVC, H.265/MPEG HEVC, AV1, HuffYUV, Indeo 3,MJPEG, MPEG-1, MPEG-2, MPEG-4 Part 2, RealVideo 3&4,Sorenson, Theora, VC-1,[h] VP5,VP6, VP8, VP9, DNxHD, ProRes and some WMV.\n\n## TODO\n\n1. Android video Aspect ratio and other params does not work(Events are called but all events come through a single event onVideoStateChange but the JS side does not implement it.).\n\n## Got a few minutes to spare? Please help us to keep this repo up to date and simple to use. \n\n#### Our idea was to keep the repo simple, and people can use it with newer RN versions without any additional config.\n\n\n1. Get a fork of tis repo and clone [VLC Media Player test](https://github.com/razorRun/react-native-vlc-media-player-test) \n2. Run it for ios and android locally using your fork, and do the changes. (remove this package using ```npm remove react-native-vlc-media-player``` and install the forked version from git hub ```npm i https://git-address-to-your-forked-repo```)  \n3. Verify your changes and make sure everything works on both platforms. (If you need a hand with testing I might be able to help as well)\n4. Send PR.\n5. Be happy, Coz you are a Rockstart 🌟 ❤️\n\n## Use\n\n```\n  (1) import { VLCPlayer, VlCPlayerView } from 'react-native-vlc-media-player';\n\n  (2)\n    <VLCPlayer\n           ref={ref => (this.vlcPlayer = ref)}\n           style={[styles.video]}\n           videoAspectRatio=\"16:9\"\n           paused={this.state.paused}\n           source={{ uri: this.props.uri}}\n           onProgress={this.onProgress.bind(this)}\n           onEnd={this.onEnded.bind(this)}\n           onBuffering={this.onBuffering.bind(this)}\n           onError={this._onError}\n           onStopped={this.onStopped.bind(this)}\n           onPlaying={this.onPlaying.bind(this)}\n           onPaused={this.onPaused.bind(this)}\n       />\n  (3) or use\n    <VlCPlayerView\n           autoplay={false}\n           url={this.state.url}\n           Orientation={Orientation}\n           //BackHandle={BackHandle}\n           ggUrl=\"\"\n           showGG={true}\n           showTitle={true}\n           title=\"\"\n           showBack={true}\n           onLeftPress={()=>{}}\n           startFullScreen={() => {\n              this.setState({\n              isFull: true,\n             });\n           }}\n           closeFullScreen={() => {\n              this.setState({\n              isFull: false,\n             });\n           }}\n       />\n```\n\n\n\n## credits\n\n[ammarahm-ed](https://github.com/ammarahm-ed)\n[Nghi-NV](https://github.com/Nghi-NV)\n[xuyuanzhou](https://github.com/xuyuanzhou)\n\n## sponsors \n\nHuge thanks to \"[smartlife - one of the best custom home automation companies in new zealand](https://www.smartlife.nz/)\" for helping me to keep this repo maintained \n\nAuthor - Roshan Milinda -> [roshan.digital](https://roshan.digital)\n","readmeFilename":"README.md"}