javascript+command panel code example

Example 1: snppet for seeing output on screen

//Snippet for testing output in the front end, using material ui
//Place your state in place of filters

<Box>
   <Card>
     <CardHeader title="Output" />
         <CardContent>
            <pre style={{ backgroundColor: "white" }}>{JSON.stringify(filters, null, 2)}</pre>
          </CardContent>
    </Card>
</Box>

Example 2: useful javascript code snippet for console

var vid = document.getElementById('player_html5_api');
vid.muted = true;