All Projects → fonini → ckeditor-youtube-plugin

fonini / ckeditor-youtube-plugin

Licence: WTFPL license
CKEditor Plugin to embed Youtube videos.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ckeditor-youtube-plugin

php-video-url-parser
A Simple and efficient PHP Video URL Parser that provides you thumbnails and embed codes for various video streaming websites
Stars: ✭ 57 (+7.55%)
Mutual labels:  embed, video-url
t3x-rte ckeditor image
Image support in CKEditor for the TYPO3 ecosystem
Stars: ✭ 43 (-18.87%)
Mutual labels:  ckeditor, ckeditor-plugin
myblog
An Open Source Multi-user Blog System that Powered by Flask.
Stars: ✭ 19 (-64.15%)
Mutual labels:  ckeditor
code-embed
🧩WordPress plugin to make embedding of code in posts really, really easy
Stars: ✭ 20 (-62.26%)
Mutual labels:  embed
github-pinner
📌 Pin and embed github repositories or profiles on your own website easily
Stars: ✭ 62 (+16.98%)
Mutual labels:  embed
laravel-responsivefilemanager
Laravel Responsive File Manager integration
Stars: ✭ 13 (-75.47%)
Mutual labels:  ckeditor
SonataFormatterBundle
Symfony SonataFormatterBundle
Stars: ✭ 78 (+47.17%)
Mutual labels:  ckeditor
vue-rss-feed
Embed RSS Feeds in your Vue web app
Stars: ✭ 37 (-30.19%)
Mutual labels:  embed
new ckeditor
Ruby on Rails + CKEditor 5
Stars: ✭ 27 (-49.06%)
Mutual labels:  ckeditor
laravel-embed
Effortless responsive embeds for videos, slideshows and more.
Stars: ✭ 106 (+100%)
Mutual labels:  embed
notion-repackaged
notion executables with the notion-enhancer embedded & a vanilla port of the official app to linux
Stars: ✭ 733 (+1283.02%)
Mutual labels:  embed
node.lua
Platform for Internet of Things with Lua, Modern IoT device embedded software development platform.
Stars: ✭ 17 (-67.92%)
Mutual labels:  embed
ginadmin
基于Gin开发的后台管理系统,集成了、数据库操作、日志管理、权限分配管理、多模板页面、自动分页器、数据库迁移和填充、Docker集成部署等功能、静态资源打包
Stars: ✭ 149 (+181.13%)
Mutual labels:  embed
minibed
It's a mini editable, customizable playground for web
Stars: ✭ 41 (-22.64%)
Mutual labels:  embed
embd-go
embd-go is an embeddable command-line tool for embedding data files in Go source code, specially crafted for easy use with `go generate`.
Stars: ✭ 24 (-54.72%)
Mutual labels:  embed
iOS-HTMLTextEditor
A simple implementation of an HTML Editor using CKEditor in a web view.
Stars: ✭ 57 (+7.55%)
Mutual labels:  ckeditor
ckeditor5-math
Math feature for CKEditor 5.
Stars: ✭ 51 (-3.77%)
Mutual labels:  ckeditor
react-responsive-embed
⚛️ Embed iframes responsively
Stars: ✭ 39 (-26.42%)
Mutual labels:  embed
html-integrations
The official JavaScript library for MathType, the leading formula editor and equation writer for the web by Wiris
Stars: ✭ 36 (-32.08%)
Mutual labels:  ckeditor
Text to MD
Convert your docs to markdown format.
Stars: ✭ 15 (-71.7%)
Mutual labels:  ckeditor

Youtube Plugin for CKEditor 4

Copyright © 2017 Jonnas Fonini [email protected].

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.

Installation

With NPM

  1. npm install ckeditor-youtube-plugin

  2. 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
    

Manual

Follow these steps:

  1. Download the latest version of the plugin from Github.

  2. Extract the downloaded file into the CKEditor's plugins folder.

  3. Enable the plugin by changing or adding the extraPlugins line in your configuration (config.js):

    config.extraPlugins = 'youtube';

Configuration

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'];

List of UI elements

  • txtEmbed
  • txtUrl
  • txtWidth
  • txtHeight
  • chkResponsive
  • chkNoEmbed
  • chkRelated
  • chkOlderCode
  • chkPrivacy
  • chkAutoplay
  • txtStartAt
  • chkControls

How to use

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.

Translators

Thanks to those who helped translate the plugin

  • Eyed Farra (ar)
  • N. Petkov (bg)
  • Lukáš Říha (cs)
  • Sven Jansen (de)
  • Dimitris Kotsakis (el)
  • Victor (pollin14) (es)
  • Kevin Rudissaar (et)
  • Asier Iturralde Sarasola (eu)
  • Jami Pietilä (fi)
  • BiomanRouge (fr)
  • Moshe Simantov (he)
  • Karmacsi Gábor (hu)
  • Francesco Zanoni (it)
  • Yayoshi Nobuhide (ja)
  • MinSoo Kim (ko)
  • Holger Lockertsen (nb, nn)
  • Patrick van Lier (nl)
  • Michał Zalewski, Wirek (pl)
  • Samuel Diogo (pt-br)
  • Alexander Ustimenko (ru)
  • ivanbarlog (sk)
  • Çağdaş Yiğit (tr)
  • Mykola Pukhalskyi (uk)
  • Vu Thao (vi)
  • trowa (zh)

Licensed under the WTFPL

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].