当サイトはアフィリエイト広告を利用しています。

Youtubeの動画をブログなどに埋め込みするときのコード。

前はいくつかサイズを選べるようになっていたと思いますが、いまはひとつだけ?

width="560" height="315"
になっているかと。

これは、16:9の比率。

サイズを変更したいときのために、以下に書いておきたいと思います。

16:9 アスペクト比一覧

横のサイズ 縦のサイズ
16 9
32 18
48 27
64 36
80 45
96 54
112 63
128 72
144 81
160 90
176 99
192 108
208 117
224 126
240 135
256 144
272 153
288 162
304 171
320 180
336 189
352 198
368 207
384 216
400 225
416 234
432 243
448 252
464 261
480 270
496 279
512 288
528 297
544 306
560 315
576 324
592 333
608 342
624 351
640 360
656 369
672 378
688 387
704 396
720 405
736 414
752 423
768 432
784 441
800 450
816 459
832 468
848 477
864 486
880 495
896 504
912 513
928 522
944 531
960 540
976 549
992 558
1008 567
1024 576
1040 585
1056 594
1072 603
1088 612
1104 621
1120 630
1136 639
1152 648
1168 657
1184 666
1200 675
1216 684
1232 693
1248 702
1264 711
1280 720
1296 729
1312 738
1328 747
1344 756
1360 765
1376 774
1392 783
1408 792
1424 801
1440 810
1456 819
1472 828
1488 837
1504 846
1520 855
1536 864
1552 873
1568 882
1584 891
1600 900
1616 909
1632 918
1648 927
1664 936
1680 945
1696 954
1712 963
1728 972
1744 981
1760 990
1776 999
1792 1008
1808 1017
1824 1026
1840 1035
1856 1044
1872 1053
1888 1062
1904 1071
1920 1080
1936 1089
1952 1098
1968 1107
1984 1116
2000 1125
2016 1134
2032 1143
2048 1152
2064 1161
2080 1170
2096 1179
2112 1188
2128 1197
2144 1206
2160 1215
2176 1224
2192 1233
2208 1242
2224 1251
2240 1260
2256 1269
2272 1278
2288 1287
2304 1296
2320 1305
2336 1314
2352 1323
2368 1332
2384 1341
2400 1350
2416 1359
2432 1368
2448 1377
2464 1386
2480 1395
2496 1404
2512 1413
2528 1422
2544 1431
2560 1440

youtube埋め込みコード用に width=”●●″ height=”●●″

width="16" height="9"
width="32" height="18"
width="48" height="27"
width="64" height="36"
width="80" height="45"
width="96" height="54"
width="112" height="63"
width="128" height="72"
width="144" height="81"
width="160" height="90"
width="176" height="99"
width="192" height="108"
width="208" height="117"
width="224" height="126"
width="240" height="135"
width="256" height="144"
width="272" height="153"
width="288" height="162"
width="304" height="171"
width="320" height="180"
width="336" height="189"
width="352" height="198"
width="368" height="207"
width="384" height="216"
width="400" height="225"
width="416" height="234"
width="432" height="243"
width="448" height="252"
width="464" height="261"
width="480" height="270"
width="496" height="279"
width="512" height="288"
width="528" height="297"
width="544" height="306"
width="560" height="315"
width="576" height="324"
width="592" height="333"
width="608" height="342"
width="624" height="351"
width="640" height="360"
width="656" height="369"
width="672" height="378"
width="688" height="387"
width="704" height="396"
width="720" height="405"
width="736" height="414"
width="752" height="423"
width="768" height="432"
width="784" height="441"
width="800" height="450"
width="816" height="459"
width="832" height="468"
width="848" height="477"
width="864" height="486"
width="880" height="495"
width="896" height="504"
width="912" height="513"
width="928" height="522"
width="944" height="531"
width="960" height="540"
width="976" height="549"
width="992" height="558"
width="1008" height="567"
width="1024" height="576"
width="1040" height="585"
width="1056" height="594"
width="1072" height="603"
width="1088" height="612"
width="1104" height="621"
width="1120" height="630"
width="1136" height="639"
width="1152" height="648"
width="1168" height="657"
width="1184" height="666"
width="1200" height="675"
width="1216" height="684"
width="1232" height="693"
width="1248" height="702"
width="1264" height="711"
width="1280" height="720"
width="1296" height="729"
width="1312" height="738"
width="1328" height="747"
width="1344" height="756"
width="1360" height="765"
width="1376" height="774"
width="1392" height="783"
width="1408" height="792"
width="1424" height="801"
width="1440" height="810"
width="1456" height="819"
width="1472" height="828"
width="1488" height="837"
width="1504" height="846"
width="1520" height="855"
width="1536" height="864"
width="1552" height="873"
width="1568" height="882"
width="1584" height="891"
width="1600" height="900"
width="1616" height="909"
width="1632" height="918"
width="1648" height="927"
width="1664" height="936"
width="1680" height="945"
width="1696" height="954"
width="1712" height="963"
width="1728" height="972"
width="1744" height="981"
width="1760" height="990"
width="1776" height="999"
width="1792" height="1008"
width="1808" height="1017"
width="1824" height="1026"
width="1840" height="1035"
width="1856" height="1044"
width="1872" height="1053"
width="1888" height="1062"
width="1904" height="1071"
width="1920" height="1080"
width="1936" height="1089"
width="1952" height="1098"
width="1968" height="1107"
width="1984" height="1116"
width="2000" height="1125"
width="2016" height="1134"
width="2032" height="1143"
width="2048" height="1152"
width="2064" height="1161"
width="2080" height="1170"
width="2096" height="1179"
width="2112" height="1188"
width="2128" height="1197"
width="2144" height="1206"
width="2160" height="1215"
width="2176" height="1224"
width="2192" height="1233"
width="2208" height="1242"
width="2224" height="1251"
width="2240" height="1260"
width="2256" height="1269"
width="2272" height="1278"
width="2288" height="1287"
width="2304" height="1296"
width="2320" height="1305"
width="2336" height="1314"
width="2352" height="1323"
width="2368" height="1332"
width="2384" height="1341"
width="2400" height="1350"
width="2416" height="1359"
width="2432" height="1368"
width="2448" height="1377"
width="2464" height="1386"
width="2480" height="1395"
width="2496" height="1404"
width="2512" height="1413"
width="2528" height="1422"
width="2544" height="1431"
width="2560" height="1440"

おすすめの記事