move video stuff out of playlist.js