loadVideo method
Implementation
void loadVideo(String videoSource) {
final newVideoId = PlayerUtils.extractVideoId(videoSource);
if (newVideoId != null && _controller != null) {
PlayerUtils.loadVideo(_controller, newVideoId);
}
}
void loadVideo(String videoSource) {
final newVideoId = PlayerUtils.extractVideoId(videoSource);
if (newVideoId != null && _controller != null) {
PlayerUtils.loadVideo(_controller, newVideoId);
}
}