I’m creating a media element inside a wp7 application programmatically and then I’m adding it to a visible grid as a child. The problem is that I receive this error message (inside the MediaFailed event handler) “3123 An error has occurred.”.
This is the url used: http://www.educationalquestions.com/video/ELL_PART_5_768k.wmv.
Any ideas about the source of the problem (I have the ID_CAP_MEDIALIB capability set as well as the ID_CAP_NETWORKING)?
A couple of module were initialized behind the scenes when a windows phone application was created using mosync: one of them is the CameraModule that uses a VideoBrush and its source was set using a PhotoCamera. Because the VideoBrush is based on a MediaElement and inside a wp7 application only one MediaElement can be used, the second one (mine) was not working. A workaround in the initialization of the CameraModule solved my problem.