fix playing video on a remote server