Skip to content

Instantly share code, notes, and snippets.

Last active Dec 23, 2015
What would you like to do?
YouTube Player initialization via IFrame API
<!-- Video player tag is inserted into SharePoint Rich Text Editor from RTE Dialog -->
<!-- When the List Form or View page is rendered, this tag is replaced with <iframe> (and video player) via YouTube IFrame API -->
<div id="ytplayer">
<span style="display: none;">Z6-iUNfJsJw;320;215</span> <!-- player info in the following format VideoId;Width:Height -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment