Closed WillChilcutt closed 7 years ago
Yes, sure. The CardPlayer file is quite in alpha stage right now. Code in there is a bit messy, I'm planning to clean up it in 1.2.6 I'll add for sure play() and pause() methods to manually interact with the player.
Sent with GitHawk
No problem on the alpha stage! I just thought you'd be interested on knowing how others are using your code! Thanks!
Yes, absolutely. Thank you very much for that :)
Inside of
CardPlayer
theplayer
variable has been exposed, I'm guessing with the intent to allow manipulating the video player.Unfortunately calling
play()
on theplayer
object does not cause the play button to disappear.The alternative could be to call the
playTapped()
method which seems to be done when auto play is turned on, but this method is not exposed thus cannot be called from outside the class.Exposing the
playTapped()
seems like a hacky solution as the name is not really something you would expect for an outside class to know, so maybe another method namedstartVideo()
orplayVideo()
would be more appropriate.Thanks!