1.0.1 • Published 6 months ago
ouitube-player v1.0.1
OuitubePlayer
OuitubePlayer is a lightweight and customizable Ouitube video player component for React applications.
Features
- Responsive Ouitube video player with adjustable aspect ratio.
- Full-screen mode support.
- Customizable player controls and appearance.
- Supports video playback events and methods.
Installation
You can install OuitubePlayer using npm:
npm install ouitube-player
or using yarn:
yarn add ouitube-player
Usage
Here's how you can use OuitubePlayer in your React application:
import React from 'react';
import OuitubePlayer from 'ouitube-player';
function App() {
return (
<div>
<OuitubePlayer src="source.mp4" />
</div>
);
}
export default App;
For more advanced usage and customization options, please check the documentation.
Props
src
(string, required): The Ouitube source.aspectRatio
(string, optional): The aspect ratio of the player (default: '16/9').controls
(boolean, optional): Show or hide player controls (default: true).
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
This project was inspired by your-inspiration-source.
Contribute
- Fork the repository.
- Create a new branch for your feature or fix.
- Make your changes.
- Create tests for your changes (if applicable).
- Run tests with
npm test
oryarn test
. - Commit your changes with a descriptive commit message.
- Push your branch to your fork.
- Submit a pull request.
Please make sure to update tests as appropriate.
Issues
If you discover a bug or have a feature request, please open an issue on GitHub.
Support
For questions or support, please contact your-email-address.
Changelog
See the CHANGELOG for details on the latest updates.