static S embedYoutubeWithoutLink(S youtubeID) { ret embedYoutubeWithoutLink(youtubeID, 300, 250); } static S embedYoutubeWithoutLink(S youtubeID, int w, int h) { youtubeID = extractYouTubeID(youtubeID); ret "<object width=\"" + w + "\" height=\"" + h +"\"><param value=\"https://www.youtube.com/v/{*}&showsearch=0&rel=0&fs=1&autoplay=0&ap=%2526fmt%3D18\" name=\"movie\" /><param value=\"window\" name=\"wmode\" /><param value=\"true\" name=\"allowFullScreen\" /><embed width=\"" + w + "\" height=\"" + h + "\" wmode=\"window\" allowfullscreen=\"true\" type=\"application/x-shockwave-flash\" src=\"https://www.youtube.com/v/{*}&showsearch=0&fs=1&rel=0&autoplay=0&ap=%2526fmt%3D18\"></embed></object>".replace("{*}", youtubeID); }
Began life as a copy of #1003198
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013735 |
Snippet name: | embedYoutubeWithoutLink |
Eternal ID of this version: | #1013735/2 |
Text MD5: | 12b22e1df6b1b5a3ba1932b2ec5da9b8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-02-08 04:56:16 |
Source code size: | 750 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 451 / 500 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014052 - embedYoutube_newer (newer version with iframe) |