[Building Sakai] SWF/Flash player issue

Gopal Patil patil.gopal.a at gmail.com
Mon Jun 22 02:49:12 PDT 2009


Hi All,
I am embedding flash player in a jsp to play my flv file.
It is workiing when i directly open that jsp using browser without any
integration.
but when i integrate it in to the sakai it is not working!!
means it is always display download flash player's link.
my code


--------------------------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>:: :)) ::</title>

<style type="text/css">
body { background-color: #fff; padding: 0 20px; color:#000; font: 13px/18px
Arial, sans-serif; }
a { color: #360; }
h3 { padding-top: 20px; }
ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
</style>

</head>
<body>

<!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("player","9.0.98","expressInstall.swf");
</script>

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
name="player" width="693" height="421">
<param name="movie" value="player-viral.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<!-- change the flv name if you want to use another one in file attribute
likedemo_video.flv-->
<param name="flashvars" value="file=demo_video.flv&image=preview.jpg" />
<object type="application/x-shockwave-flash" data="player-viral.swf"
width="693" height="421">
<param name="movie" value="player-viral.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<!-- change the flv name if you want to use another one in file attribute
like demo_video.flv-->
<param name="flashvars" value="file=demo_video.flv&image=preview.jpg" />
<p><a href="http://get.adobe.com/flashplayer">Get Flash</a> to see this
player.</p>
</object>
</object>

<!-- END OF THE PLAYER EMBEDDING -->

</body>
</html>
-----------------------------------------------------------------------------------------------------------------

I am waiting for your repsonce. :(

Regards,
Gopal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090622/f74b899d/attachment.html 


More information about the sakai-dev mailing list