Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Classes/YTPlayerView.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ typedef NS_ENUM(NSInteger, YTPlayerError) {
*/
- (void)playerView:(nonnull YTPlayerView *)playerView receivedError:(YTPlayerError)error;

/**
* Invoked when web access restrictions are enabled for the current device, and youtube.com is blocked.
* Check: Settings > General > Restrictions > Websites > Allowed Websites.
*
* @param error NSError containing the error state.
*/
- (void)playerViewAppleContentFilterBlockedPage:(NSError *)error;

/**
* Callback invoked frequently when playBack is plaing.
*
Expand Down