IT Community - Software Programming, Web Development and Technical Support

Hide WM Player controls in FireFox in ASP.NET

This is a discussion on Hide WM Player controls in FireFox in ASP.NET within the ASP and ASP.NET Programming forums, part of the Web Development category; Guys, I am having a issue in firefox, I want to disaply a movie clip in WM player in a ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-19-2007, 04:15 AM
muthuramkumar muthuramkumar is offline
D-Web Trainee
 
Join Date: Mar 2007
Posts: 10
muthuramkumar is on a distinguished road
Question Hide WM Player controls in FireFox in ASP.NET

Guys, I am having a issue in firefox, I want to disaply a movie clip in WM player in a web page(but without controls like Play,FF,Rewind). In IE i am able to hide the controls,but i dont know how to do it in FireFox ?.help...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-19-2007, 04:21 AM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 131
Anandavinayagam is on a distinguished road
Default Re: Hide WM Player controls in FireFox in ASP.NET

Hi,

Better u try this link

tutorials-ne.com >> sdk >> Windows Media Player Event Handling (ScriptCommand) and FireFox


Thanks

Anand
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-19-2007, 04:25 AM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 131
Anandavinayagam is on a distinguished road
Default Re: Hide WM Player controls in FireFox in ASP.NET

I found this function to Hide using showcontrols is set to false

function PlayIt(where,what,wid,hgt){
document.getElementById(where).innerHTML='<object width="'+wid+'" height="'+hgt+'" '
+'classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" '
+'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" '
+'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
+'<param name="url" value="'+what+'">'
+'<param name="uiMode" value="full">'
+'<param name="autoStart" value="true">'
+'<param name="loop" value="true">'
+'<param name="enabled" value="true">'
+'<embed type="application/x-mplayer2" '
+'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
+'showcontrols="false" uimode="full" width="'+wid+'" height="'+hgt+'" '
+'src="'+what+'" autostart="true" loop="true">'
+'</object>';
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-19-2007, 04:39 AM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 131
Anandavinayagam is on a distinguished road
Default Re: Hide WM Player controls in FireFox in ASP.NET

Sorry Dont use false

Use ShowControls=0 for hiding Controls
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-19-2007, 04:42 AM
muthuramkumar muthuramkumar is offline
D-Web Trainee
 
Join Date: Mar 2007
Posts: 10
muthuramkumar is on a distinguished road
Default Re: Hide WM Player controls in FireFox in ASP.NET

Thanks Anand,
Your idea is working fine.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Data Controls Venkat ASP and ASP.NET Programming 133 10-11-2008 08:41 PM
Play Youtube videos into my Flash video player oxygen Flash Actionscript Programming 1 03-15-2008 03:13 AM
Mini Mp3 Player Suggestions? kesuu The Lounge 2 02-03-2008 10:20 PM
WebParts controls S.Vinothkumar ASP and ASP.NET Programming 5 11-16-2007 03:06 AM
Hide URL: How to? Floppix PHP Programming 2 02-25-2007 02:29 AM


All times are GMT -7. The time now is 08:32 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0