
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@playkit-js/banner-overlay
Advanced tools
Banner overlay plugin for Kaltura player - displays configurable text banners with various positioning and styling options
playkit-js-banner-overlay is a kaltura player plugin that provides the ability to display configurable text banners with various positioning and styling options.
Webpack is used to build the distro bundle and serve the local development environment.
The plugin requires Kaltura Player to be loaded first.
First, clone and run yarn to install dependencies:
git clone https://github.com/kaltura/playkit-js-banner-overlay.git
yarn install
Then, build the plugin
yarn run build
Finally, add the bundle as a script tag in your page, and initialize the player
<!--Kaltura player-->
<script type="text/javascript" src="/PATH/TO/FILE/kaltura-player.js"></script>
<!--Playkit banner-overlay plugin -->
<script type="text/javascript" src="/PATH/TO/FILE/playkit-banner-overlay.js"></script>
<div id="player-placeholder" style="height:360px; width:640px">
<script type="text/javascript">
var playerContainer = document.querySelector("#player-placeholder");
var config = {
...
targetId: 'player-placeholder',
plugins: {
banner-overlay: {
text: string;
duration?: number | 'unlimited';
alignment?: BannerAlignment;
allowWrapping?: boolean; // default: true
allowClose?: boolean; // default: false
}
},
};
var player = KalturaPlayer.setup(config);
player.loadPlaylist(...);
</script>
</div>
This project is licensed under the AGPL-3.0 License - see the LICENSE file for details
FAQs
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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.