Skip to content

Commit

Permalink
FIXED: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-huo committed Apr 3, 2018
1 parent 24b85f7 commit 93edd51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions YoutubeKit/Player/YTSwiftyPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ open class YTSwiftyPlayer: WKWebView {
public init(frame: CGRect = .zero, playerVars: [String: AnyObject]) {
let configuration = defaultConfiguration()
let userController = WKUserContentController()
configuration.userController = userController
configuration.userContentController = userController

super.init(frame: frame, configuration: configuration)

Expand All @@ -93,7 +93,7 @@ open class YTSwiftyPlayer: WKWebView {
public init(frame: CGRect = .zero, playerVars: [VideoEmbedParameter] = []) {
let configuration = defaultConfiguration()
let userController = WKUserContentController()
configuration.userController = userController
configuration.userContentController = userController

super.init(frame: frame, configuration: configuration)

Expand Down

0 comments on commit 93edd51

Please sign in to comment.