You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great for the video to start playing without the view needing to flash black and show that loading wheel. So it could go straight from showing thumbnail to playing, as if the thumbnail was really the first frame of the video
Code
mmPlayerLayer.thumbImageView.image = cell.postThumbnailImgV.image
// set video where to play
mmPlayerLayer.playView = cell.postThumbnailImgV
self.mmPlayerLayer.set(url: URL(string: playURL))
The text was updated successfully, but these errors were encountered:
@kselvin I ran into this as well, my solution was that I had my own thumbnail image view on top of the video container that MMPlayerView resides in and once loading is finished (when the activity indicator disappears) I then hide my thumbnail view. That being said its just a work around and @MillmanY if you could speak to this that would be helpful!
Great work around. I'd also want the loading wheel to show above the thumbnail (big videos that are slow to load sometimes). I guess I could put an additional loading wheel on top of my own thumbnail view but feels pretty hacky. Would be awesome if there is an easier way to solve this
Is there anyway around this?
It would be great for the video to start playing without the view needing to flash black and show that loading wheel. So it could go straight from showing thumbnail to playing, as if the thumbnail was really the first frame of the video
Code
mmPlayerLayer.thumbImageView.image = cell.postThumbnailImgV.image
// set video where to play
mmPlayerLayer.playView = cell.postThumbnailImgV
self.mmPlayerLayer.set(url: URL(string: playURL))
The text was updated successfully, but these errors were encountered: