90 lines
2.6 KiB
Markdown
90 lines
2.6 KiB
Markdown
Plugin youtube for TinyMCE 5
|
|
======================
|
|
|
|
Insert YouTube video (Google Format) with optionnals (HD, similar vidéos)
|
|
|
|
YouTube plugin compatible with **tinymce 4** is available [here](https://github.com/gtraxx/tinymce-plugin-youtube/tree/tinymce4)
|
|
|
|
### version
|
|
|
|
[](https://github.com/gtraxx/tinymce-plugin-youtube/releases/latest)
|
|
|
|
|
|
Authors
|
|
-------
|
|
|
|
* Gerits Aurelien (Author-Developer) aurelien[at]magix-cms[point]com
|
|
|
|
Official link in french :
|
|
|
|
### Screenshot
|
|
|
|

|
|
|
|
### Installation
|
|
* Download the dist/youtube.zip archive
|
|
* Unzip archive in tinyMCE plugin directory (tiny_mce/plugins/)
|
|
|
|
### Configuration
|
|
```html
|
|
<script type="text/javascript">
|
|
tinymce.init({
|
|
selector: "textarea",
|
|
plugins: [
|
|
"advlist autolink lists link image charmap print preview anchor",
|
|
"searchreplace visualblocks code fullscreen",
|
|
"insertdatetime media table contextmenu paste youtube"
|
|
],
|
|
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image| youtube",
|
|
extended_valid_elements: "+iframe[src|width|height|name|align|class]",
|
|
});
|
|
</script>
|
|
```
|
|
|
|
### Languages
|
|
* English
|
|
* French
|
|
* Russian
|
|
* Spanish
|
|
* German
|
|
* Italian
|
|
* Brazilian
|
|
* Hungarian
|
|
* Polish
|
|
* Dutch
|
|
* Turkish
|
|
* Japanese
|
|
* Lithuanian
|
|
|
|
You can send me translations in other languages
|
|
|
|
### Old Version
|
|
|
|
[Plugin YouTube for tinyMCE 3](http://magix-cjquery.com/post/2012/05/11/plugin-youtube-v1.4-pour-tinyMCE)
|
|
|
|
<pre>
|
|
This file is part of tinyMCE.
|
|
YouTube for tinyMCE
|
|
Copyright (C) 2011 - 2019 Gerits Aurelien <aurelien[at]magix-cms[dot]com>
|
|
|
|
Redistributions of files must retain the above copyright notice.
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see .
|
|
|
|
####DISCLAIMER
|
|
|
|
Do not edit or add to this file if you wish to upgrade jimagine to newer
|
|
versions in the future. If you wish to customize jimagine for your
|
|
needs please refer to magix-dev.be for more information.
|
|
</pre>
|