![]() ![]()
In the undocked state, only the full mode of the Player displays the video or visualization. In the docked state, however, only one control can display the video or visualization. They also share the same instance of the full mode of the Player in the undocked state. When several programs with embedded, remoted Windows Media Player controls run simultaneously, all of the controls share the same playback engine. Transferring the Video or Visualization Display In both cases, any digital media that is playing continues uninterrupted. The control can also be docked by selecting a program from the Switch to Other Program list or by closing the full mode of the Player. The IWMPPlayerApplication::switchToControl method docks the control by transferring the video or visualization display to your program and closing the full mode of the Player, if it is open. The IWMPPlayerApplication::switchToPlayerApplication method undocks the control by opening the full mode of Windows Media Player and transferring the video or visualization display to the Now Playing pane. Use IWMPPlayerApplication to switch between the docked and undocked states and to determine the current docked state and the location of the video or visualization display. The IWMPPlayer4 interface also provides access to the IWMPPlayerApplication interface through the get_playerApplication method. #Darkling windows media player party mode how toFor detailed information about how to specify an exclusive online store, see Exclusive Online Stores. In that case, the service selector in Windows Media Player is disabled and only the specified online store is available to the user. With Windows Media Player 11, an application that embeds the Player control remotely can specify an exclusive online store. If a remote connection is successfully established, the get_isRemote method of the IWMPPlayer4 interface returns true. In GetServiceType, you indicate the embedding mode of the control by returning a value of either "Remote" or "Local". In GetApplicationName, you return the name of your program, which Windows Media Player adds to the Switch to Other Program list on the View menu. IWMPRemoteMediaServices has several methods, but only two of them are directly relevant to remoting. Windows Media Player calls this method to retrieve a pointer to an IWMPRemoteMediaServices interface. ![]() IServiceProvider is a standard Component Object Model (COM) interface with a single method called QueryService. To enable remote embedding of the Windows Media Player control, your program must implement the IServiceProvider and IWMPRemoteMediaServices interfaces. When you remote the control, it shares the same playback engine as the full mode of the Player and your users can switch back and forth between embedded mode (the "docked" state) and full mode (the "undocked" state) while digital media playback continues uninterrupted. This is called "remoting" the Windows Media Player control, and it lets you provide all the features of the full mode Player without implementing them yourself.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |