<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Blockly Demo: Resizable Blockly (Part 2)</title>
</head>
<body>
<div id="blocklyDiv" style="height: 480px; width: 600px;"></div>
<xml id="toolbox" style="display: none">
<block type="abuffer"></block>
<!--<block type="controls_whileUntil"></block>-->
</xml>
<script>
var workspace = Blockly.inject('blocklyDiv',
{toolbox: document.getElementById('toolbox')});
var ff= [
{
"colour": 15,
"inputsInline": true,
"tooltip": "Buffer audio frames, and make them accessible to the filterchain.",
"helpUrl": "https:\/\/
ffmpeg.org\/ffmpeg-filters.html#abuffer",
"previousStatement": "SourceSink",
"nextStatement": "Audio",
"message0": "abuffer=channel_layout=%1",
"type": "abuffer",
"args0": [
{
"name": "channel_layout",
"check": "String",
"text": "",
"type": "field_input"
},
{
"type": "input_dummy"
}
]
}] ;
Blockly.defineBlocksWithJsonArray(ff);
workspace.updateToolbox()
</script>
</body>