fixes for https and removal of the preview video on the backend