Adrián Gallego Castellanos

Results 22 comments of Adrián Gallego Castellanos

Hello, I did a fork of v0.0.83 and did a rollback of a feature that caused black screen on iOS simulator, in order to fix issue #1029, and probably will...

Same problem here. With iOS simulator the screen remains black but I can hear the audio as the video progresses. I have tested different versions of this library. Version 0.0.69...

I dig deeper in every commit between version 0.0.69 and 0.0.70 to find the offending commit. What I found is that `9214d6adf59bdcfbe9b6a6fdca0fd431c95ebcea (Exposed BetterPlayerControlsState to provide ways to build custom...

It seems, that the commit in the previous comment is divided in 15 commits, so I analyzed them and the last subcommit that works is `dd0c4e0d4dc2b25510b609e312dfc01aa74a5c5b` while the first that...

By rolling back the changes I am able to see the video (no black screen) on version 0.0.83. I uploaded the changes to my fork of the repository, so you...

Doing some research it seems that the reason of the change is explained in [this comment](https://github.com/jhomlala/betterplayer/pull/488/commits/dd0c4e0d4dc2b25510b609e312dfc01aa74a5c5b#r635910612). So it seems a way to fix black screen problem on Android and iOS...

The plugin [native_video_view](https://pub.dev/packages/native_video_view) seems to display correctly in the simulator, and its approach is similar to the one used after commit `8697d6bfe30a3117d109ee0ead53b645ee58b5c4`. It has a `UIView` on the iOS side...

Ok, I have some good news. I am able to visualize videos on iOS simulator just by disabling video composition. ```objective-c (void)setDataSourcePlayerItem:(AVPlayerItem*)item withKey:(NSString*)key{ ... #if !TARGET_OS_SIMULATOR item.videoComposition = videoComposition; #endif...

Finally I push a fix to my personal fork of this project. The changes I did can be seen in [this commit](https://github.com/jhomlala/betterplayer/compare/master...marioloko:betterplayer:ios-simulator-blackscreen). I plan to do a pull request to...

Thank you for testing the solution. Can you comment here if worked fine for you or experience any problem?