开发者

Movie Player shows Default.png image in background while loading (OS 3.1.2)

开发者 https://www.devze.com 2022-12-17 22:46 出处:网络
I\'m using MPMoviePlayerController to stream audio/video files from a servrer. It works great on all other OS versions. However, on 3.1.2, it shows the Default.png image (used to display at app splash

I'm using MPMoviePlayerController to stream audio/video files from a servrer. It works great on all other OS versions. However, on 3.1.2, it shows the Default.png image (used to display at app splash screen) in the background while the movie loads. It only happens for the first time and the player works fine (no image in background) on all subsequent plays.

I have used the following properties:

player.scalingMode = MPMovieScalingModeNone; 
player.backgroundColor = [UIColor blackColor];

I have gone through apple documentation and web in genera开发者_运维百科l but seems like no one has this problem. Is there any way I can get rid of this image (Default.png) shown as the player's background?

Thanks.


Sounds like an uninitialized GL texture is briefly being used by the movie player.

Not sure what you can do about that.

Maybe you can hide the player while it loads.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号