static new ThreadLocal hEmbedYoutube_useHttps; static bool hEmbedYoutube_useHttps_default = true; static S hEmbedYoutube(S youtubeID) { ret hEmbedYoutube(youtubeID, 300, 250); } static S hEmbedYoutube(S youtubeID, int w, int h) { youtubeID = extractYouTubeID(youtubeID); S html = "
View on YouTube".replace("{*}", youtubeID); if (or(hEmbedYoutube_useHttps!, hEmbedYoutube_useHttps_default)) html = html.replace("http://", "https://"); ret html; }