![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-native-advanced-video-player
Advanced tools
A video player for react native with advanced controls made for react native.
This packages depends on the below packages to function properly:
Install the dependencies at the root of your React Native project.
$ npm install --save react-native-advanced-video-player
$ npm install --save react-native-advanced-video-player
$ react-native link react-native-advanced-video-player
import com.rn_advanced_video_player.AdvancedVideoPackage;
@Override
protected List<ReactPackage> getPackages() {
List<ReactPackage> packages = new PackageList(this).getPackages();
...
packages.add(new AdvancedVideoPackage());
return packages;
}
Download the icons required for the iOS side to work from the link below:- https://drive.google.com/drive/folders/1MJgxymYo5_6rjimKgKXn5OIwSkckb0C3?usp=sharing
Paste the icons into your Project.xcworkspace/Images.xcassets directory
import RNVideoPlayer from "react-native-advanced-video-player";
<RNVideoPlayer
source={"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"}
playerStyle={{
width: 300,
height: 450
}}
/>
Property | Type | Default | Descrption |
---|---|---|---|
source | string | null | URL or path to video |
playerStyle | object | {} | Styling for the player container |
fullscreen | boolean | false | Determines whether the button should show fullscreen or not at first |
swipeToSeek | boolean | true | When true, user can swipe on the container to seek the video. NOT AVAILABLE for RTMP stream |
seekBarColor | string | #ffffff | Custom color for seekbar |
showFullscreenControls | boolean | true | Shows the fullscreen and back button |
showLikeButton | boolean | true | Shows the like button |
showShareButton | boolean | true | Shows the share button |
showDownloadButton | boolean | true | Shows the download button |
Property | Descrption |
---|---|
onFullscreen | When the fullscreen button is pressed |
onBackPressed | When the back button is pressed |
onLikePressed | When the like button is pressed |
onSharePressed | When the share button is pressed |
onDownloadPressed | When the download button is pressed |
onControlsShow | When the controls overlay is shown |
onControlsHide | When the controls overlay is hidden |
onEnterFullsceen | When the video player enters fullscreen mode |
onLeaveFullscreen | When the video player leaves fullscreen mode |
Property | Descrption |
---|---|
pause | Pauses the videoplayer |
play | Plays the videoplayer |
mutePlayer | Mutes the videoplayer |
unmutePlayer | Unmutes the videoplayer |
showSystemHUD | Method to switch to showing native iOS volume bar HUD |
killVideoPlayer | Kills video player instance, CALL to make sure video is stopped playing in background |
MIT
Free Software, Hell Yeah!
FAQs
TODO
The npm package react-native-advanced-video-player receives a total of 7 weekly downloads. As such, react-native-advanced-video-player popularity was classified as not popular.
We found that react-native-advanced-video-player demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.