Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

OnError never triggered in Silverlight.js

$
0
0

In plugin 5.1.20125  I often find myself having a group of issues such as

- Player stuck in Acquiring License
- Alert popup / Diverse errors
- Freeze / infinite loading while editing a parameter in the object tag

This is when using Silverlight.js directly through HTML5 and Javascript, with a player instanced through createObjectEx. The player errors but never exposes these errors to javascript. Using the 'events' object causes the PARAM name onError to never trigger. Overriding default_error_handler in Silverlight also does not yield good results. There is no other references to error handlers or error handling in the Silverlight JS file. 

I'd like to know how I can handle Silverlight errors, preferably overriding the forced alert popup. I'd also like to know if there is a specific correct way to dispose of a Silverlight object instance after being instanced through createObjectEx

Best Regards!


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>