How to extend SMF player version 2.2?

Dec 13, 2010 at 6:24 PM

I see videos on extending the 1.1 version of the SMF player, but I'm having trouble extending the latest 2.2 version.  In 1.1 they extend Microsoft.SilverlightMediaFramework.Player, which doesn't exist in 2.2 (unless I'm doing something wrong).  I can extend the Microsoft.SilverlightMediaFramework.Core.SMFPlayer class, however none of my code is getting executed when I debug.

I have an override for OnApplyTemplate and OnMouseEnter and a breakpoint on each., but neither is hit when I debug.

I want to extend the player to not load the videos when they are selected fromthe playlist, but instead begin loading/buffering when the play button is pressed.

Any ideas on what is going on?

Thank you.