
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@bloomreach/hippo-ckeditor-youtube-plugin
Advanced tools
Copyright © 2017 Jonnas Fonini jonnasfonini@gmail.com.
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the LICENSE file for more details.
This plugin allow you to insert Youtube videos using embed code or just the video URL.
npm install ckeditor-youtube-plugin
Add the plugin to CKEditor (config.js):
CKEDITOR.plugins.addExternal('youtube', '../node_modules/ckeditor-youtube-plugin/youtube/');
config.extraPlugins = 'youtube';
You may need to adjust the plugin path. The example is assuming that you have the following directory structure:
project
└───ckeditor
│ └───config.js
└───node_modules
└───ckeditor-youtube-plugin
Follow these steps:
Download the latest version of the plugin from Github.
Extract the downloaded file into the CKEditor's plugins folder.
Enable the plugin by changing or adding the extraPlugins line in your configuration (config.js):
config.extraPlugins = 'youtube';
The default options can be overriden on config.js.
Video width:
config.youtube_width = '640';
Video height:
config.youtube_height = '480';
Make responsive (ignore width and height, fit to width):
config.youtube_responsive = true;
Show related videos:
config.youtube_related = true;
Use old embed code:
config.youtube_older = false;
Enable privacy-enhanced mode:
config.youtube_privacy = false;
Start video automatically:
config.youtube_autoplay = false;
Show player controls:
config.youtube_controls = true;
Disable the change of settings. The elements on the list will be disabled (but still visible). See the available element list below.
config.youtube_disabled_fields = ['txtEmbed', 'chkAutoplay'];
If everything is ok, a Youtube icon should appear on the CKEditor toolbar. Click it, paste your embed code or video URL and the video will be inserted.
Thanks to those who helped translate the plugin
FAQs
Youtube plugin for CKEditor
We found that @bloomreach/hippo-ckeditor-youtube-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.