Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1000788 // Make YouTube embed code (width 300) from video ID

IOIOI

In: jzXJqpjpEtM
Out: [[<object width="300" height="250"><param value="http://www.youtube.com/v/jzXJqpjpEtM&showsearch=0&rel=0&fs=1&autoplay=0&amp;ap=%2526fmt%3D18" name="movie" /><param value="window" name="wmode" /><param value="true" name="allowFullScreen" /><embed width="300" height="250" wmode="window" allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/jzXJqpjpEtM&showsearch=0&fs=1&rel=0&autoplay=0&amp;ap=%2526fmt%3D18"></embed></object><br /><a href="http://www.youtube.com/watch?v=jzXJqpjpEtM" target="_blank">View on YouTube</a>]]

In: acKTCF0sAfc
Out: [[<object width="300" height="250"><param value="http://www.youtube.com/v/acKTCF0sAfc&showsearch=0&rel=0&fs=1&autoplay=0&amp;ap=%2526fmt%3D18" name="movie" /><param value="window" name="wmode" /><param value="true" name="allowFullScreen" /><embed width="300" height="250" wmode="window" allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/acKTCF0sAfc&showsearch=0&fs=1&rel=0&autoplay=0&amp;ap=%2526fmt%3D18"></embed></object><br /><a href="http://www.youtube.com/watch?v=acKTCF0sAfc" target="_blank">View on YouTube</a>]]

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
1065 #738 Solved!

Details:
LOneWordChanged(preprocessor=RFJavaTok, index=1, outPattern="<object width=\"300\" height=\"250\"><param value=\"http://www.youtube.com/v/{*}&showsearch=0&rel=0&fs=1&autoplay=0&amp;ap=%2526fmt%3D18\" name=\"movie\" /><param value=\"window\" name=\"wmode\" /><param value=\"true\" name=\"allowFullScreen\" /><embed width=\"300\" height=\"250\" wmode=\"window\" allowfullscreen=\"true\" type=\"application/x-shockwave-flash\" src=\"http://www.youtube.com/v/{*}&showsearch=0&fs=1&rel=0&autoplay=0&amp;ap=%2526fmt%3D18\"></embed></object><br /><a href=\"http://www.youtube.com/watch?v={*}\" target=\"_blank\">View on YouTube</a>")
2015-08-27 16:51:28  delete 

add comment

Snippet ID: #1000788
Snippet name: Make YouTube embed code (width 300) from video ID
Eternal ID of this version: #1000788/1
Text MD5: c639ada98a4902d6082e70823ed54d66
Author: stefan
Category:
Type: IOIOI
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-27 17:03:30
Source code size: 1166 bytes / 5 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 966 / 172
Referenced in: #1000789 - Get YouTube video ID from URL
#3000188 - Answer for stefanreich(>> t search)
#3000189 - Answer for stefanreich(>> t bla)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)