Skip to content

Instantly share code, notes, and snippets.

@vgrem

vgrem/RTE_Video.html

Last active Dec 23, 2015
Embed
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 -->
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.