// started playing. If we invoke play and then wait (making this effectively
// a synchronous call) for the player to start playing, there is less chance
// for the hard VM crash to occur - but it still might
for(int i = 0; i < medias.length; i ++ ) {
EmbeddedMediaPlayer mediaPlayer = players.get(i).mediaPlayer();
mediaPlayer.start();
}
}
});
}
}