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).
Results appear below as you type; use the arrow keys to move through them.
Opens Steam overlay with given YT 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.
openYoutubeVideo youTubeUrl
Parameters:
youTubeUrl: String - for parameters see: https://developers.google.com/youtube/player_parametersReturns: Boolean
// open http://www.youtube.com/watch?v=UBIAbm7Rt78
_isOpened = openYoutubeVideo "watch?v=UBIAbm7Rt78";
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).