AnsweredAssumed Answered

Display HTML page w/ embedded flash object?

Question asked by khanh on Apr 17, 2012
Latest reply on Jul 19, 2012 by redfeilds18
is it possible to upload an html page to the library that has references to a swf and have it play as a web page when doing View In Browser?

Example, i have a sample.swf that is uploaded to the document library,
i have an sample.html file that uses the sample.swf
but the sample.html when view in browser, does actually play the sample.swf

example below of the sample.html
it seems it doesn't render the html like a "web page"
if i view the sample.swf via View in Browser, that swf plays by itself.
I need to play the swf in side the html page.


      <div id="archiveDiv" style="position:relative; width:1600px; height:1200px; z-index:1">
     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,0,0" WIDTH="100%" HEIGHT="100%">
     <param NAME="movie" VALUE="sample.swf">
     <param NAME="quality" VALUE="high">
     <embed src="sample.swf" quality="high"  WIDTH="100%" HEIGHT="100%"  TYPE="application/x-shockwave-flash" PLUGINSPAGE="" swLiveConnect="true"></embed>