Skip to content

Commit

Permalink
Fixed bundle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mads Bøgeskov authored and Mads Bøgeskov committed Oct 25, 2015
1 parent d5f707d commit fab22fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/YTPlayerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ - (BOOL)loadWithPlayerParams:(NSDictionary *)additionalPlayerParams {
[self addSubview:self.webView];

NSError *error = nil;
NSString *path = [[NSBundle mainBundle] pathForResource:@"YTPlayerView-iframe-player"
NSString *path = [[NSBundle bundleForClass:[YTPlayerView class]] pathForResource:@"YTPlayerView-iframe-player"
ofType:@"html"
inDirectory:@"Assets"];

Expand Down

0 comments on commit fab22fa

Please sign in to comment.