Open staceypyee opened 2 years ago
Is there any updates?
Hello @staceypyee,
After we analysed your problem and discussed with the team the issue seems to be that the app is playing one or more videos that are not yet visible on the screen. Can you please make sure that the videos are visible when play method is called and also please check that autoplay is off also. Let us know if we can help you further .
Thanks, Florin
I would like to have multiple video instance in a horizontal UICollectionView which keep the last playing state, something like the Home screen in dailymotion iOS app downloadable from App store. User should be able to continue from the previous fetch video.
How can we do this? I don't see any sample from the sample code
What have been done: I have tried to put DMPlayerViewController view as a view in the collection view cell. Whenever the list is populated,
playerViewController?.load(videoId: videoId, params: "{ \"autoplay\": false }", completion: nil)
will be triggered for each cells.Whenever the screen is loaded with the collection view cells, these are the logs produced with Code:
Result:
I have a custom play pause button which will trigger
dmPlayerViewController.play()
ordmPlayerViewController.pause()
Whenever I tapped on the play button, I always saw this error in the logs:
Player event namedEvent(name: "playback_resolution", data: Optional(["status": "rejected", "reason": "rejected_inactive_tab"]))
What could be the reason for this error?In the documentation, embed multiple players only appears for web. How can we do this for iOS?
Thanks