Example code for elastic videos.