- 18 Sep 2009
The simplest way to add any published HD Media Player SWF to a webpage is to use html “Flash Object and Embed” tags. All of our downloadable packages include a sample html page that includes the object and embed tags for embedding that particular example, so you can copy and paste these scripts into your own web document wherever you want the player to appear (you should be in “code” view of your html editor when copying and pasting). It is important to learn how these scripts are configured so you can modify them to meet your needs (please note: you should not modify embed codes that were created using our online Skin Wizard).
width=”640″ height=”390″ id=”ESAHDMP” >
<param name=”movie” value=”default.swf” />
<param name=”allowfullscreen” value=”true”/>
<param name=”allowscriptaccess” value=”always”/>
<param name=”FlashVars” value=”media=media.xml” />
<param name=”wmode” value=”transparent” />
<embed src=”default.swf” width=”640″ height=”390″ FlashVars=”media=media.xml” allowfullscreen=”true”
allowscriptaccess=”always” type=”application/x-shockwave-flash” wmode=”transparent”
pluginspage=”http://www.macromedia.com/go/getflashplayer” name=”ESAHDMP” />
While it is possible to automatically generate html tags for embedding Flash objects like our HD Media Player (e.g. using Flash or Dreamweaver), it is generally not recommended with our default players, because the automatically generated tags will not include some of the necessary parameters including the FlashVars. In addition, the automatically generated tags are often much longer than what you see above, and contain unnecessary attributes and parameters.