比如 视频链接:6 s/ y$ s$ f7 q6 m) K8 Q
1 ?' V0 h( Y, e* l0 qhttps://www.facebook.com/gravelmatin/videos/1852964928250096/
4 {6 k. s: p' E5 y8 U# R, I! R' b( y- n" y/ X* c
1:输入到:0 q) c2 c' R% j& V- g
v- }6 Q5 F5 B: S6 F) w3 _2 W1 M" u
https://developers.facebook.com/docs/plugins/embedded-video-player#configurator
! x( C3 U! S8 G P1 V3 s6 u
& {( ]( E) ]& e/ ]$ f2:点击:“get code”:
$ u% ?) ]# N/ w, h
8 c5 B; c4 r. z/ X/ W9 `- iStep 2: Include the https://developers.facebook.com/docs/reference/javascript/ on your page once, ideally right after the opening <body> tag.0 T; J( h8 o1 h9 P; Q. O: n
& |) H5 f9 r. f
& o: P7 K6 \8 _, \% M) B7 H' P
- <div id="fb-root"></div>
3 S9 W; e! V; {7 _ - <script>(function(d, s, id) {- g$ h, K5 d! P8 j
- var js, fjs = d.getElementsByTagName(s)[0];
' O Z/ }; I& V; |+ Q - if (d.getElementById(id)) return;- M# H) I$ c4 C* r# [0 ^8 W
- js = d.createElement(s); js.id = id;) u, a6 y8 o. @! ?/ \. f
- js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8";' ^3 M2 [$ ^. C" Q
- fjs.parentNode.insertBefore(js, fjs);
1 ? e3 L1 s% D4 E( @ - }(document, 'script', 'facebook-jssdk'));</script>
复制代码
* W2 g2 [, A6 u9 a$ U+ w# I6 [
- t8 R: Z, m, h6 _3 f* RStep 3: Place this code wherever you want the plugin to appear on your page.
; ?8 l! H$ [' c* x0 F( X
- x: M0 a1 t2 a4 v* v) Q& Q1 G T, Z/ L( l
, ? z! \- g7 U. Z/ Q: W
9 j! n, [& a7 y- <div class="fb-video" data-href="https://www.facebook.com/gravelmatin/videos/1852964928250096/" data-width="500" data-show-text="false"><blockquote cite="https://www.facebook.com/gravelmatin/videos/1852964928250096/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gravelmatin/videos/1852964928250096/">Le Montréalais Andrei Zlotchevski à la 15e compétition du Pont...</a><p>Oui, le champion du monde de chinois langue seconde est Montréalais! Hugo Lavoie vous présente Andrei Zlotchevski -» http://bit.ly/2kR431d7 d& E) R. \) `9 Y3 R4 [
m0 V4 V% S3 K- Le voici ici, à la 15e compétition du Pont chinois, à Pékin.</p>Posted by <a href="https://www.facebook.com/gravelmatin/">Gravel le matin</a> on Wednesday, February 1, 2017</blockquote></div>
复制代码
: B' H' v' j X/ b: y* U: g9 e. _8 V5 C5 X
$ }! ]0 n, N p6 L- {
# E) M+ A7 h5 P# s" L: M l+ Z3 ? |