NullReference if YouTube.CancelPlay called soon after YouTube.Play

Aug 1, 2012 at 5:19 PM
Edited Aug 1, 2012 at 5:20 PM

Hi,

I'm getting NullReferenceExceptions when calling CancelPlay before the video uri has been obtained. Wrapping the creation of the MediaPlayerLauncher in "if (entry != null)" within the Play method works round it though I expect there is a better way of handling it.

Jon

Coordinator
Aug 1, 2012 at 10:01 PM

Thanks for the hint. Will be fixed in the next NuGet version. Fixed in current build (Subversion)...