Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VideoPlayer.isPlaying

public bool isPlaying;

Description

Whether content is being played. (Read Only)

Calling VideoPlayer.Play will not necessarily result in isPlaying becoming true. The VideoPlayer must successfully prepare the content before it can start playing.