utility functions for video hosting services