Write utility function to get playlist html.