Last active
December 23, 2015 22:39
-
-
Save vgrem/6704320 to your computer and use it in GitHub Desktop.
YouTube Player initialization via IFrame API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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