Dailymotion Objective-C播放器不全屏

时间:2015-11-09 10:08:00

标签: ios dailymotion-api

我的应用程序中有dailymotion-player-objc 2.9.0,视频停止显示全屏。它一直很好:

DMPlayerViewController *playerViewController;
[playerViewController loadVideo:@"x38n9ji" withParams:@{@"webkit-playsinline":@(NO),@"chromeless":@(YES),@"related":@(NO),@"quality":@720}];

- (void)dailymotionPlayer:(DMPlayerViewController *)player didReceiveEvent:(NSString *)eventName {

    if ([eventName isEqualToString:@"playing"])
    {
        ***// event detected but player doesn't enter fullscreen***
        playerViewController.fullscreen = YES;
    }

    if ([eventName isEqualToString:@"fullscreenchange"])
    {
       ***// event not detected player doesn't enter fullscreen***
    }
}

使用iOS 9.1 / App Transport Security - 在容器视图/故事板中允许任意加载YES / DMPlayerViewController

任何有同样问题或知道发生了什么事的人?

谢谢!

1 个答案:

答案 0 :(得分:0)

Dailymotion方面存在一个问题,它现在已经解决,所以现在应该全屏恢复工作。