diff --git a/mindplot/src/main/javascript/widget/Menu.js b/mindplot/src/main/javascript/widget/Menu.js index 06430c1f..7999b725 100644 --- a/mindplot/src/main/javascript/widget/Menu.js +++ b/mindplot/src/main/javascript/widget/Menu.js @@ -432,6 +432,20 @@ mindplot.widget.Menu = new Class({ }); } + + var videoElem = $("videoElem"); + if (videoElem) { + var width = 900; + var height = 500; + var left = (screen.width / 2) - (width / 2); + var top = (screen.height / 2) - (height / 2); + + videoElem.addEvent('click', function (event) { + window.open("https://www.youtube.com/tv?vq=medium#/watch?v=rKxZwNKs9cE", "_blank", 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=' + width + ', height=' + height + ', top=' + top + ', left=' + left); + event.preventDefault(); + }); + } + }, _registerEvents:function (designer) { diff --git a/wise-webapp/src/main/resources/messages_de.properties b/wise-webapp/src/main/resources/messages_de.properties index 4940d13b..e7a8d236 100644 --- a/wise-webapp/src/main/resources/messages_de.properties +++ b/wise-webapp/src/main/resources/messages_de.properties @@ -248,7 +248,8 @@ WELCOME_DETAILS=WiseMapping erlaubt Ihnen das anlegen und anzeigen von maps von DIRECT_LINK_EXPLANATION=Kopieren und Einsetzen der unten stehenden Verbindung, um die Mitbenutzung der map mit Ihren Freunden und Kollegen zu ermöglichen TEMPORAL_PASSWORD_SENT=Ihr temporäres Passwort wurde angelegt TEMPORAL_PASSWORD_SENT_DETAILS=Wir haben Ihnen eine email gesendet, die es Ihnen erlaubt Ihr Passwort zurückzusetzen. Bitte prüfen Sie den Posteingang. -TEMPORAL_PASSWORD_SENT_SUPPORT=Falls sie Probleme haben die email zu empfangen, kontaktieren Sie uns unter support@wisemapping.com +TEMPORAL_PASSWORD_SENT_SUPPORT=Falls sie Probleme haben die email zu empfangen, kontaktieren Sie uns unter support@wisemapping.com +TUTORIAL_VIDEO=Tutorial Video diff --git a/wise-webapp/src/main/resources/messages_en.properties b/wise-webapp/src/main/resources/messages_en.properties index 1abde1bc..b3b9efea 100644 --- a/wise-webapp/src/main/resources/messages_en.properties +++ b/wise-webapp/src/main/resources/messages_en.properties @@ -252,6 +252,7 @@ TEMPORAL_PASSWORD_SENT_SUPPORT=If you have any problem receiving the email, cont MINDMAP_TIMESTAMP_OUTDATED=It's not possible to save your changes because your mindmap has been modified by '{0}'. Refresh the page and try again. MINDMAP_OUTDATED_BY_YOU=It's not possible to save your changes because map is out of date. Do you have multiple tabs opened ?. Refresh the page and try again. MINDMAP_LOCKED=Map is being edited by {0} <{1}>. Map is opened in read only mode. +TUTORIAL_VIDEO=Tutorial Video diff --git a/wise-webapp/src/main/resources/messages_es.properties b/wise-webapp/src/main/resources/messages_es.properties index 8a1f5c49..008984fa 100644 --- a/wise-webapp/src/main/resources/messages_es.properties +++ b/wise-webapp/src/main/resources/messages_es.properties @@ -250,6 +250,7 @@ TEMPORAL_PASSWORD_SENT_DETAILS=Se te ha enviado un mail con los detalles para ca TEMPORAL_PASSWORD_SENT=Tu contraseña temporal ha sido enviada MINDMAP_LOCKED=El mapa esta siendo editado por {0} <{1}>. Mapa sera abierto en modo lectura. MINDMAP_TIMESTAMP_OUTDATED=No es posible grabar sus cambios por que el mapa ha sido modificado por {0}'. Refresque la pagina y intentelo nuevamente. +TUTORIAL_VIDEO=Tutorial Video diff --git a/wise-webapp/src/main/resources/messages_fr.properties b/wise-webapp/src/main/resources/messages_fr.properties index da8758d7..fabd4a86 100644 --- a/wise-webapp/src/main/resources/messages_fr.properties +++ b/wise-webapp/src/main/resources/messages_fr.properties @@ -250,6 +250,7 @@ ACCESS_HAS_BEEN_REVOKED= Upps. your access permissions to this map has been revo LICENSE=License WELCOME_TO_WISEMAPPING=Welcome to WiseMapping WELCOME_DETAILS=WiseMapping will enable you to create and read your mind maps everywhere. With WiseMapping you can: