@richcreationsrc We're actually duplicating the code here, can we put it inside the

```
if (mode === 'video') {
```
if method instead?