Warning: file_put_contents(/ff_89336906fd793f6df16102430e31e0307945bf00ad4dba9d.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
openYoutubeVideo - OFPEC Scripting Command Reference | OFPEC The Editing Center

openYoutubeVideo youTubeUrl

Operand types

youTubeUrl: String

Type of returned value

Description

Opens Steam overlay with given YouTube video.

Video URL is the end part of the YT URL, starting with watch?v=.... If the user has Steam overlay disabled, the command will display appropriate message to the user and return false.

Used In

Arma3

Example

//Open http://www.youtube.com/watch?v=UBIAbm7Rt78 _isOpened = openYoutubeVideo "watch?v=UBIAbm7Rt78";

Advertisement