setUrl method
Implementation
void setUrl(String url) {
if (currentUrl == url) {
return; // nothing to do
}
currentUrl = url;
stop();
recreateNode();
if (isPlaying) {
resume();
}
}
void setUrl(String url) {
if (currentUrl == url) {
return; // nothing to do
}
currentUrl = url;
stop();
recreateNode();
if (isPlaying) {
resume();
}
}