比如 视频链接:
3 D. S! C/ o/ L6 F, |' e; J. \7 s3 B/ h! `$ U4 I! H
https://www.facebook.com/gravelmatin/videos/1852964928250096/ _8 j% Q9 V8 m6 b( m+ [: C
( h) o8 B+ }$ h1:输入到:
! K8 g' [; F. p0 P* }* _3 j
# G7 G# U; h) fhttps://developers.facebook.com/docs/plugins/embedded-video-player#configurator( ` }7 i( A9 V+ i d) |
$ m# J, y! ]4 }; M8 A8 N5 a
2:点击:“get code”:! \2 Z) G* s9 r% ?. @1 t S; N
+ t7 y/ z4 `1 T7 X1 e& E* E
Step 2: Include the https://developers.facebook.com/docs/reference/javascript/ on your page once, ideally right after the opening <body> tag.
( c { k' m+ [8 o# {2 Y5 W4 ^& d2 U
) {1 H, n9 }; u. b5 Q/ O7 Y
( N! {+ v" s# u }+ `& E- <div id="fb-root"></div>
5 Z, Y: ~" O9 i2 E; D - <script>(function(d, s, id) {0 v9 C. l N# y6 D4 x
- var js, fjs = d.getElementsByTagName(s)[0];
" Z! Q5 |6 F+ X8 s5 |0 e; q - if (d.getElementById(id)) return;6 f2 b+ ?7 J0 _8 W: W9 h
- js = d.createElement(s); js.id = id;( o9 b" r$ Y" ?% F; p5 F3 b1 a* x
- js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8";
& X& ]( _ q/ @% A& W+ N& _: q9 V, E - fjs.parentNode.insertBefore(js, fjs);' B g. n3 {3 K3 X' _, S
- }(document, 'script', 'facebook-jssdk'));</script>
复制代码
5 J7 B5 k: r2 l5 ~: [
9 U5 r# R$ b! i+ n' UStep 3: Place this code wherever you want the plugin to appear on your page.4 J, W% \: U$ }
/ B6 D# q' K3 ]. X
( D4 I' z6 U: f4 i, Y
t; P6 i ^8 r+ C
% `) v# t& a. f, f7 a R8 v2 L
- <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
7 B4 p. S2 C0 v3 E+ |8 U$ d& E - % U. ~2 n) _; r) l" \
- 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>
复制代码
5 F0 M5 ]/ w$ O) `, T. t( }4 O
) a6 y, e$ f6 @$ Q) d& f7 R# l
. s# m! z# W* W# m9 L3 H, K# h* H, k0 @8 `) @/ t
|