LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

VideoPlayer.url

public string url;

Description

The file or HTTP URL that the VideoPlayer will read content from.

If both a clip and a URL are set, the last one set will take precedence. File URLs are filesystem paths that are either absolute on the platform or relative to the Player root.