Tag Archives: mediaPlayerStateChange

Detecting when a video cannot be loaded by the Spark VideoPlayer control in Flex 4

The following example shows how you can detect when an error was encountered while trying to play media using the Spark VideoPlayer control in Flex 4 by listening for the mediaPlayerStateChange event and checking for the playbackError state.

Full code after the jump.

Continue reading Detecting when a video cannot be loaded by the Spark VideoPlayer control in Flex 4