ZOWVideoPlayer icon indicating copy to clipboard operation
ZOWVideoPlayer copied to clipboard

About changing the tab in tabbar

Open Nautiyalsachin opened this issue 8 years ago • 6 comments

I am using the tab bar for making the Instagram-like app. But whenever I am changing the tabs I am unable to get the video player on the view will appear, its always returning me nil. Don't know why but for every other case it's working superb only for this case, have you included any observer for that, let me know if there is any.

Nautiyalsachin avatar Oct 26 '16 08:10 Nautiyalsachin

@Nautiyalsachin NO, there are no observer for that. By your case, I made a test project which contains a UITabbarController but I don't get the same error, the video player is not nil when viewWillAppear get called. Can you describe your using case more detail? By the way, I will expose more playing status property outside for users to make control more easily so you don't need to access the video player directly.

stoncle avatar Oct 28 '16 08:10 stoncle

I solved that issue it was from my side, but it will be good if there are other playing status.One more thing, I am using it in the table view and sometimes the video player just show me a white color video view and after some time it will load the video again and play it. Don't know why it's happening but yeah it's there (mostly happening when table view cell are getting reload) . And I am enjoying the ZOWVideoPlayer it's very cool. Thanks.

Nautiyalsachin avatar Nov 01 '16 09:11 Nautiyalsachin

@Nautiyalsachin Your problem on tableview is because when you call play video method on cell reload and video will be play from begin again. This will be solved after I expose the play status outside, it is easy to be solved, and no need to change your current code.

stoncle avatar Nov 01 '16 12:11 stoncle

@stoncle Great. Waiting for the update then or you can tell me how to get the current stauts.

Nautiyalsachin avatar Nov 01 '16 14:11 Nautiyalsachin

Sometimes the video is not loading when I am reloading the table view, its just showing me the background color of my cell. And yeah sometime it shows the instagram animation for downloading the video when its already there.

Nautiyalsachin avatar Nov 07 '16 06:11 Nautiyalsachin

@Nautiyalsachin yeah,same problem with above. thank you for your reply and I will fix it as soon as possible :-)

stoncle avatar Nov 07 '16 06:11 stoncle