比如 视频链接:$ t7 Z- K% }8 L; `6 T/ D
5 a6 D3 s% P1 o0 B* v2 E( l
https://www.facebook.com/gravelmatin/videos/1852964928250096/1 L, f) n% M% K1 l7 c$ U$ E/ |
9 c5 k* j. J0 T) C8 x' M8 q
1:输入到:0 K, N% m, o4 f; i+ z K/ Y+ t
! k# K$ q) T0 l, Uhttps://developers.facebook.com/docs/plugins/embedded-video-player#configurator1 H, s1 X8 V: C
$ C/ h& T2 Z5 i+ d& K6 w. o
2:点击:“get code”:
% I3 j g% b! C3 b. O* `$ y
( N7 E# i2 g2 J5 m+ r0 Z8 q3 f cStep 2: Include the https://developers.facebook.com/docs/reference/javascript/ on your page once, ideally right after the opening <body> tag.
, y/ G! g; G+ l/ b5 b5 O* R3 x5 X
; B- @! P" Y& ]% i1 j# P
. `8 e5 a8 U5 e# ~. g- <div id="fb-root"></div>8 C) T# u) N; y- R1 T& q
- <script>(function(d, s, id) {
' c; p; b3 h8 @6 H - var js, fjs = d.getElementsByTagName(s)[0];
7 J ?8 z1 h) {/ m- H+ S0 H, {3 ] - if (d.getElementById(id)) return; G2 ?: q8 Q, p' t: M8 z5 t. |
- js = d.createElement(s); js.id = id;
7 |" p+ d; O$ L* k1 ^; u4 G1 |+ _2 u - js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8";
2 N# B. m% B+ H. [. R" ` - fjs.parentNode.insertBefore(js, fjs);
2 @; ]; G/ v# [3 v9 `8 P& Y - }(document, 'script', 'facebook-jssdk'));</script>
复制代码
& }! b& d+ J! h
# ^( x1 A' W/ M/ U1 iStep 3: Place this code wherever you want the plugin to appear on your page.6 c8 f9 B1 U% \9 X9 x$ \: ?, o
1 j. D3 X- |' F( b
5 _. Y/ ?; d, ?) W1 o
* o2 ]- u& k; N
/ T; a/ o! l2 x4 b' V+ m( X- <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/2kR431d# r- H4 O& @! K% U
- 3 }9 o$ D& ]! ]% B. c3 Y
- 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>
复制代码
4 `; [3 @8 O8 O5 a4 v) L
6 Y# p/ s; g6 n: W9 z% F) a7 E1 Z) a' q) W) g1 d( y
, _# A1 Y) W. K% L1 \" m |