loadVideoSource method
Loads a new video source.
NOTE: This method might throw an exception if the video source is invalid.
Implementation
Future<void> loadVideoSource(VideoSource videoSource) async {
await stop();
await _api.loadVideoSource(videoSource);
_videoSource = videoSource;
}