From 2d5b3f6ec45cc30290b28554716c3abb5b956086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Eduardo?= Date: Wed, 13 Sep 2017 17:43:12 -0500 Subject: vinotjs: player default HTML5 --- js/mce-button.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'js/mce-button.js') 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', -- cgit v1.2.3