video sharing code