adding resources and embedding video