diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2017-09-13 17:43:12 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2017-09-13 17:43:12 -0500 |
commit | 2d5b3f6ec45cc30290b28554716c3abb5b956086 (patch) | |
tree | 71f4c80a9fd394fd44e35db727de2a38056269de /js/mce-button.js | |
parent | 3aed6c0e5c9eab77ba8fb99145d48a3625be6edf (diff) | |
download | lidra-theme-2d5b3f6ec45cc30290b28554716c3abb5b956086.tar.lz lidra-theme-2d5b3f6ec45cc30290b28554716c3abb5b956086.tar.xz lidra-theme-2d5b3f6ec45cc30290b28554716c3abb5b956086.zip |
vinotjs: player default HTML5
Diffstat (limited to 'js/mce-button.js')
-rw-r--r-- | js/mce-button.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/mce-button.js b/js/mce-button.js index ea424e1..be2d6cd 100644 --- a/js/mce-button.js +++ b/js/mce-button.js @@ -28,11 +28,11 @@ * */ (function() { - tinymce.PluginManager.add('librevideojs', function(editor, url) { - var sh_tag = 'librevideojs_video'; + tinymce.PluginManager.add('vinotjs', function(editor, url) { + var sh_tag = 'vinotjs'; //add popup - editor.addCommand('librevideojs_popup', function(ui, v) { + editor.addCommand('vinotjs_popup', function(ui, v) { //setup defaults var url = ''; if (v.url) @@ -48,7 +48,7 @@ content = v.content; editor.windowManager.open( { - title: 'LibreVideoJS - Inserción de vídeo', + title: 'ViNotJS - Inserción de vídeo', body: [ { type: 'textbox', @@ -105,11 +105,11 @@ }); }); - editor.addButton('librevideojs', { - icon: 'librevideojs', - tooltip: 'LibreVideoJS', + editor.addButton('vinotjs', { + icon: 'vinotjs', + tooltip: 'ViNotJS', onclick: function() { - editor.execCommand('librevideojs_popup', '', { + editor.execCommand('vinotjs_popup', '', { url : '', poster: '', code: 'webm', |