How do you play FLV Stored on MOSS 2007?
Good day,
I am having issues with running FLVs on my SPS.
I used this code to get the file to play but it does not load... Help.
<script type='text/javascript' src='http://mysite.com/jwplayer/swfobject.js'></script>
<div id='mediaspace'>This div will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('http://mysite.com/JWPlayer/player.swf','mpl','220','165','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://mysite.com/myfile.flv');
so.addVariable('image','http://mysite.com/previewimage.jpg');
so.addVariable('stretching','fill');
so.write('mediaspace');
</script>
May 10th, 2011 5:35pm
Hi GMAN587,
Could you please go through this article:
http://zieglers.wordpress.com/2010/07/28/how-to-play-flash-video-in-sharepoint/.
You can get the detailed information about how to play flv files in SharePoint and it has provided the code sample.
Thanks & Regards,
Peng Lei
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2011 11:31pm
Thanks for your response. Unfortunately, it did not work. I get a Movie not loaded message.
Am I missing something? Does the .swp and .js files need to be stored on the physical server's /webroot directory or can I simply place it in a document library within my site?
Thanks.Gerald Belton
May 17th, 2011 10:35am