0👍
✅
Solved by manually adding the attributes
<input id="video" name="attachment" type="file" data-direct-upload-url="/rails/active_storage/direct_uploads" direct_upload="true" />
Source:stackexchange.com