Optimizations for multiple videos. Also fixed data-attributes so user doesn't have to write JSON format in them