Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
cloudinary-video-player
Advanced tools
Readme
Cloudinary Video Player is a JavaScript-based HTML video player bundled with many valuable customization and integration capabilities, and is monetization and analytics-ready. The player is fully responsive for use in any device or screen size, and is integrated with Cloudinary's video delivery and manipulation solution.
This README includes basic information for installation and getting started. View the documentation for comprehensive guidance on integration and all the available features.
Install using:
npm install cloudinary-video-player
Import the package:
import cloudinary from 'cloudinary-video-player';
// Also possible:
// import { videoPlayer } from 'cloudinary-video-player';
import 'cloudinary-video-player/cld-video-player.min.css';
Cloudinary Video Player can also be included directly from the jsDelivr CDN:
<link href="https://cdn.jsdelivr.net/npm/cloudinary-video-player/dist/cld-video-player.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/cloudinary-video-player/dist/cld-video-player.min.js" type="text/javascript"></script>
The Cloudinary video player offers standard and light package variations, available in either minified or non-minified formats.
cld-video-player.js
- Non minified version which includes all optional modules.cld-video-player.min.js
- Minified version which includes all optional modules.cld-video-player.light.js
- Non minified version which does not include any optional modules.cld-video-player.light.min.js
- Minified version which does not include any optional modules. (for smaller bundle size)Create a video tag containing cld-video-player
class and a supported skin class:
<video
id="player"
controls
autoplay
data-cld-public-id="dog"
class="cld-video-player cld-fluid">
</video>
Instantiate a new cloudinary Video Player:
cloudinary.videoPlayer('player', {
cloudName: 'demo'
});
In order to run this project locally:
npm install
npm start
FAQs
Cloudinary Video Player
The npm package cloudinary-video-player receives a total of 34,059 weekly downloads. As such, cloudinary-video-player popularity was classified as popular.
We found that cloudinary-video-player demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.