Moved if statement out of controls function so it doesn't get called if no custom controls are selected
Moved if statement out of controls function so it doesn't get called if no custom controls are selected

matt3188/video-player-plugin,matt3188/video-player-plugin,matt3188/video-player-plugin