Skip to content

Commit

Permalink
Remove inline video check
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGorman committed Aug 22, 2016
1 parent 7d64f5c commit 84b6f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dailymotion-player-objc/DMPlayerViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ - (void)initPlayerWithVideo:(NSString *)video {
webview.mediaPlaybackRequiresUserAction = NO;
}

if ([webview respondsToSelector:@selector(setAllowsInlineMediaPlayback:)] && self.params[@"webkit-playsinline"]) {
if ([webview respondsToSelector:@selector(setAllowsInlineMediaPlayback:)]) {
webview.allowsInlineMediaPlayback = YES;
}

Expand Down

0 comments on commit 84b6f99

Please sign in to comment.