By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,600 Members | 1,683 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,600 IT Pros & Developers. It's quick & easy.

Need help with embedded windows media player - HTML

P: 1
In my page i am embedding a media player. I just want to play audio files. I only need to give support to internet explorer.

The html i am using is shown below

Expand|Select|Wrap|Line Numbers
  1.  <div class="form_date" >
  2.     <object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="audioPlayer"  width="251" height="62" type="application/x-oleobject"          >
  3.         <param name="URL" value="<%= ViewData["recordSourcePath"] %>" />
  4.  
  5.         <param name="AllowHideDisplay" value="true" />
  6.         <param name="AutoStart" value="true"/>         
  7.  
  8.      <param name="AllowHideControls" value="true"/>
  9.         <param name="AllowHideDisplay" value="true"/>
  10.         <param name="ShowDisplay" value="false"/>
  11.         <param name="AllowChangeDisplaySize" value="false"/>
  12.       <param name="AutoSize" value="false" />
  13.  
  14.         <param name="enabled" value="true"/>
  15.         <param name="fullScreen" value="false"/>           
  16.         <param name="StretchToFit" value="false"/>
  17.         <param name="enabledContextMenu" value="true"/>                
  18.         <param name="ShowControls" value="true"/>
  19.          </object>
  20. </div>
The player works fine excpet its displaying a screen(that shows visualizations).I dont want that video scrren in my page cause i am only playing audio file.I only need basic controls to play.




But in my case its looks like as i wanted if the player is not laded with files. If it started play it show the video window. How can i hide that video(black screen) permenetly


You can see more about this question from this link
http://stackoverflow.com/questions/5...ia-player-html
Mar 18 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.