Skip to content

Instantly share code, notes, and snippets.

@csim
Created April 9, 2014 15:28
Show Gist options
  • Save csim/10283199 to your computer and use it in GitHub Desktop.
Save csim/10283199 to your computer and use it in GitHub Desktop.
SharePoint Video Embed
<object id="video" type="application/x-silverlight-2"
data="data:application/x-silverlight-2," width="100%" height="100%">
<param name="source" value="/_layouts/clientbin/mediaplayer.xap" />
<param name="enableHtmlAccess" value="true" />
<param name="windowless" value="true" />
<param name="background" value="#80808080" />
<param name="initParams"
value="mediaTitle=,mediaSource={VIDEO URL},previewImageSource={VIDEO PREVIEW IMAGE},autoPlay=true" />
<param name="onresize" value="video" />
<a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181"
alt="Get Microsoft Silverlight"
style="border-style: none" />
</a>
<a href="{VIDEO URL}" class="media-link"
title="Open a media player on your client to play audio or video file.">
<span class="media-title">Video</span>
</a>
</object>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment