- We can probably rename `audio` to `isAudio`
- Indentation issues
- Renaming `html` to `embedCode` is probably more understandable
- We should the same mime type checking approach as done by the `setUpFilePreview` function

Therefore, this should be something along the following lines:

```
oae.api.util.template().render($('#filepreview-mediacore-template', $rootel), {
    'isAudio': widgetData.mime.substring(0, 6) === 'audio/',
    'embedCode': data.html
}, $('#filepreview-container', $rootel));
```