Video.setAutoplay

void setAutoplay(bool autoplay)

Sets whether self automatically starts playback when it becomes visible or when a new file gets loaded.

Parameters

autoplaywhether media streams should autoplay