Flutter - video_player fullscreen

前端 未结 3 711
说谎
说谎 2021-02-13 21:28

I\'m using a plugin called video_player on my Flutter project. I\'m able to play and pause videos without a problem, but I want to make it fullscreen and horizontal. I couldn\'t

3条回答
  •  攒了一身酷
    2021-02-13 22:04

    In order for it to work in iOS you should add the following change in ios/Runner/Info.plist:

    NSAppTransportSecurity
        
            NSAllowsArbitraryLoads
            
        
    

提交回复
热议问题