比如 视频链接: U8 n1 m" Y$ J1 U+ P
3 _" n/ h2 F; y; i6 q% Z
https://www.facebook.com/gravelmatin/videos/1852964928250096/
) {3 w1 J2 X$ z4 ]. ] u! e, M `; ~+ t: h+ E7 L9 r U+ K
1:输入到:
9 R4 y3 D' U0 A
- n8 @- e& X. y; m" L. {, u8 thttps://developers.facebook.com/docs/plugins/embedded-video-player#configurator# h/ }" ~4 Q+ [, ]
$ O, X, c2 ^1 D! H0 N! s
2:点击:“get code”:" I6 j. @! ~# z; ~
1 u8 f8 m, V6 d8 R9 W* [4 X
Step 2: Include the https://developers.facebook.com/docs/reference/javascript/ on your page once, ideally right after the opening <body> tag.
! {2 d- ^) t, Z& J X( a
0 ]- f( c# m2 z0 M7 ]+ b j! u8 x. |2 ?1 w3 D* \" k+ R5 G
- <div id="fb-root"></div>
( r. I. A$ N. n P! J. S+ V3 S - <script>(function(d, s, id) {. F# x x* P, e1 _, M
- var js, fjs = d.getElementsByTagName(s)[0];3 W5 b2 s3 T4 p6 _6 c
- if (d.getElementById(id)) return;
0 I1 V; {4 [' |" [$ f. @ - js = d.createElement(s); js.id = id;
% l5 s6 e% m- ~% g9 j - js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8";; S0 u9 k u# R6 H p7 i9 g' G
- fjs.parentNode.insertBefore(js, fjs);
- ~( I( P w5 y, C$ k8 b - }(document, 'script', 'facebook-jssdk'));</script>
复制代码 : U% V, O' M6 F2 X. i: @& j
- M: K7 P7 P" r3 `3 Y+ EStep 3: Place this code wherever you want the plugin to appear on your page.# B% R t6 p" ]7 J8 A) e
* Y1 t5 n/ y: U' _5 t, z) a( R6 R$ p" E# F8 O, u R
9 W. f5 P2 G) P# @# y* u; q# ?7 I* M' h
- <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- ^- x! M" `; Q2 `
( N" B7 A# j! l/ j- 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>
复制代码
7 B8 H7 P+ t8 b& x3 Z2 b" l
( F' U7 l: }) Z$ r$ C' z! [
/ Z& B9 s- K# _
4 f. k; Z$ \& y9 E8 Y' b. ]: ^ |