Wednesday, December 11, 2013

How to add flash to a share point page using flow player

Add this script to the content editor webpart Code Editor:

<script type="text/javascript" src="/videos/flowplayer-3.2.12.min.js"></script>
<a href="/Videos/Hello.flv"  style="display:block;width:520px;height:330px" id="player"> </a> 
<script>
flowplayer("player", "/videos/flowplayer-3.2.16.swf");
</script>

In the source library add the files:
flowplayer-3.2.16.swf
flowplayer-3.2.12.min.js
flowplayer.controls-3.2.15.swf

No comments:

Post a Comment