http://musicbee.niblseed.com/V2_4/MusicBee_Exe_Patched.zipand the updated interface file definition:
http://www.mediafire.com/download/zq6mr986wqa9rp6/MusicBeeInterface.zipchange MinApiRevision to 39 in the MusicBeeInterface file to force users to MB v2.4 to use the plugin
in the Plugin class Initialise() function:
about.Type = PluginType.VideoPlayer;
and create a function as follows:
public bool PlayVideo(string[] urls)
{
...your code
return true;
}
When MB detects that function in a plugin it will call it instead of invoking an external .exe
Although urls is an array i think with the current MB version it only ever passes one value in the array but i am not completely sure about that
If you are planning to embed the video player inside MB and want to draw it on a panel:
videoPanel = New Panel
videoPanel.Bounds = mbApiInterface.MB_GetPanelBounds(PluginPanelDock.ApplicationWindow)
mbApiInterface.MB_AddPanel(videoPanel, PluginPanelDock.ApplicationWindow)
...
mbApiInterface.MB_RemovePanel(videoPanel)
MB will resize the panel automatically