openYoutubeVideo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 9: | Line 9: | ||
| Opens Steam overlay with given YT video. Video URL is the end part of the YT URL, starting with '''watch?v<nowiki>=</nowiki>...'''. If the user has Steam overlay disabled, the command will display appropriate message to the user and return [[false]]. | | Opens Steam overlay with given YT video. Video URL is the end part of the YT URL, starting with '''watch?v<nowiki>=</nowiki>...'''. If the user has Steam overlay disabled, the command will display appropriate message to the user and return [[false]]. | ||
| '''openYoutubeVideo''' youTubeUrl | |s1= '''openYoutubeVideo''' youTubeUrl | ||
|p1= youTubeUrl: [[String]] - for parameters see: https://developers.google.com/youtube/player_parameters | |p1= youTubeUrl: [[String]] - for parameters see: https://developers.google.com/youtube/player_parameters |
Revision as of 23:13, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- System
Syntax
- Syntax:
- openYoutubeVideo youTubeUrl
- Parameters:
- youTubeUrl: String - for parameters see: https://developers.google.com/youtube/player_parameters
- Return Value:
- Boolean
Examples
- Example 1:
//Open http://www.youtube.com/watch?v=UBIAbm7Rt78 _isOpened = openYoutubeVideo "watch?v=UBIAbm7Rt78";
Additional Information
- See also:
- openDSInterfaceopenMap
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on May 25, 2018 - 15:03 (UTC)
- celoush
- SITREP 00061: For security reasons we have restricted its use to outside scenarios only (e.g. in the game's UI or a mod's UI). (https://dev.arma3.com/post/sitrep-00061)