load method

Future<void> load(
  1. WebPlayerSource source
)

Implementation

Future<void> load(WebPlayerSource source) {
  switch (source.type) {
    case WebPlayerSourceType.videoJs:
      return videoJs(source);
    default:
      return iframe(source);
  }
}