回答編集履歴

1

追記

2019/08/01 01:49

投稿

yukikp
yukikp

スコア797

test CHANGED
@@ -8,6 +8,18 @@
8
8
 
9
9
 
10
10
 
11
+ > You must ensure the URL contains embed rather watch as the /embed endpoint allows outside requests, whereas the /watch endpoint does not.
11
12
 
12
13
 
14
+
15
+ 追記:
16
+
17
+ 例えばyoutubeの動画ページのURLが
18
+
13
- > You must ensure the URL contains embed rather watch as the /embed endpoint allows outside requests, whereas the /watch endpoint does not.
19
+ https://www.youtube.com/watch?v=hogehoge
20
+
21
+ だとしたら、埋め込み用iframeで使用されるURLは、
22
+
23
+ https://www.youtube.com/embed/hogehoge
24
+
25
+ の様です。