They need to initially be stored in a app that has access to iCloud. Then its s simple matter of uploading them to iCloud Drive or iCloud.
I've got a few DVDs I've rippied that I uploaded to iCloud Drive. It doesn't make for a very good media player though.
Try File Browser app