Hi everyone
I followed the instructions at  http://nikhil-george.blogspot.com/, made a
copy of the Mirage theme and and set up the item-view.xsl to include the
following:

<xsl:for-each
select="./mets:fileSec/mets:fileGrp[@USE='CONTENT']/mets:file[@MIMETYPE='video/x-flv']">
  <div style="text-align:center">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0";
width="320" height="270">
  <param name="movie" value="{mets:FLocat/@xlink:href}" />
  <param name="quality" value="high" />
  <param name="allowScriptAccess" value="sameDomain"/>
  <param name="allowFullScreen" value="True" />
  <embed src="{mets:FLocat/@xlink:href}" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer";
type="application/x-shockwave-flash" width="320" height="270"
allowScriptAccess="sameDomain" allowFullScreen="True" />
  </object>
  </div>
</xsl:for-each>

I registered the .swf and .flv file extensions to video/x-flv. I submitted
an item and viewed it. It almost works. The player shows up, there's a play
button, I press it and nothing plays. If I do view/open, the .swf file
downloads and it plays just fine. I couldn't find anything in
/var/log/httpd/error_log. And /var/log/httpd/access_log shows that the file
was requested. Any clues as to what might be wrong? To me it seems that for
some reason, the application is unable to pull the swf file through a URL
that seems valid otherwise.

Thanks and best regards

-- 
Muhammad Saqib Ilyas
PhD Student, Computer Science and Engineering
Lahore University of Management Sciences
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to