fix video loading error on Safari