Add window Media palyer on IE toolbar

  • Thread starter Thread starter Guest
  • Start date Start date
Hi Ronda,

Why are you trying to add the Media Player as a toolbar when it already is
available as a Side bar?

You can tweak the existing Media Bar to become a toolbar by adding the
appropiate "Implemented Categories" value to the CLSID value in the
registry. (you have to reboot your machine for the changes to come into
effect)

I will leave it to you to research how to do this. Search for Band Objects
in MSDN.

Regards.
 
Dear Rob ^_^:

Thanks a lot for reply.

I am doing some enhancements on a TV site. They have a info SMS bar
scrolling on their TV and they asked me to add the Info bar sms on IE
toolbar, so that
their users will always have a look on the SMS in case they have scrambled
from one web page into another. The SMS bar is now viewed in a movie file
(.mwv) and synchronized with TV scrolling bar.
I was communicating with our friend nobguz for giving the WMP a strong
assembly name, which was done, as you might read our pre-thread .
I drag the Window Media Player object into a window form and compile my code
with no error. The Band object Lib. is capable to emebed what has been
developed on window form into IE ToolBar. Unfortunately, I can't view the WMP
on IE. Eventhough, I have created a scrolling text bar and it was done
successfully through this same technique. As you know, the Media Player is an
activex control, I said that there might be a specific setting on IE to be
configured for viewing the movie file.
You told me that I have to add a value to CLSID in the registry. After
reading my task in details, please does this method suit in solving our
problem? if so, I wrote regedit commnad on my cmd, what is next :)? really, I
am in need for a further details from your side if possible.

Thanks a lot on reading.....

Best Regards,
R0nda
 
Hi Ronda,

I am a bit confused as I have only briefly read your blog and I am not an
expert in C# although I have had downloaded and played with the C# project
from CodeProject. My preferences are to use the ATL implementation that is
also available from thecodeproject.

That aside, it appears that your issue is now the visibility of media
control in the toolbar which has loaded sucessfully. So Implemented
Categories values is not the issue.
I am guessing that it may be something simple like the default property
settings for your Media control - autoplay=true ?
Another thought is that you may have to set the zorder of the control
dynamicly to bring it to the front of the toolwindow32 container or do a
setparent. Check your New code for the properties that are being
instanciated on creation of both the toolwindow and the media control. I
know that the VS IDE can be a bit flakey with form layouts changing between
design time and compilation.

Regards.
 
Dear Rob ^_^":

Thanks for reply.

I made the window Media player settings (play to true, visible true, enabled
true). But, still I can't view it on IE toolbar.
I built a dummy window application and drag the WMP object into form which
can be seen after running with no problem or any pre-setting.
Well I said is it prohibited to add media controls into IE Toolbar or what
in your opinion??? Have you try to run any ATL implementation in code project
site and add the WMP, is it visible to you
(http://www.codeproject.com/wtl/toolband.asp?df=100&forumid=2547&exp=0&select=1473117)?

Best Regards,
R0nda
 
Back
Top