possibility to add media (picture or youtube-video) to the instructions

This commit is contained in:
Delucse
2020-09-30 15:41:24 +02:00
parent f7a0e7594d
commit 56820a04fc
10 changed files with 224 additions and 151 deletions
+6 -1
View File
@@ -57,6 +57,9 @@
"type": "instruction",
"headline": "Programmierung",
"text": "Man benötigt folgenden Block:",
"media": {
"picture": "block_en.svg"
},
"xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='sensebox_wifi' id='-!X.Ay]z1ACt!f5+Vfr8'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></xml>"
},
{
@@ -64,7 +67,9 @@
"type": "instruction",
"headline": "Block richtig einbinden",
"text": "Dies ist ein Test.",
"picture": "block_en.svg"
"media": {
"youtube": "Q41MPMBCPto"
}
},
{
"id": 4,