File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 21
21
< script src ="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.js "> </ script >
22
22
< script src ="/js/tabcontent.js "> </ script >
23
23
< script src ="/js/highlight.pack.js "> </ script >
24
-
24
+ < script type =" module " src =" https://cdn.jsdelivr.net/npm/@justinribeiro/lite-youtube@1.5.0/lite-youtube.js " > </ script >
25
25
26
26
< script type ="text/javascript ">
27
27
$ ( document ) . ready ( function ( ) {
42
42
) ;
43
43
} ) ;
44
44
</ script >
45
- < script type ="text/javascript ">
46
- function init ( ) {
47
- var vidDefer = document . getElementsByTagName ( 'iframe' ) ;
48
- for ( var i = 0 ; i < vidDefer . length ; i ++ ) {
49
- if ( vidDefer [ i ] . getAttribute ( 'data-src' ) ) {
50
- vidDefer [ i ] . setAttribute ( 'src' , vidDefer [ i ] . getAttribute ( 'data-src' ) ) ;
51
- } } }
52
- window . onload = init ;
53
- </ script >
Original file line number Diff line number Diff line change 206
206
Watch the Presentation
207
207
</ h2 >
208
208
< div class ="embed-responsive embed-responsive-16by9 ">
209
- < iframe class ="embed-responsive-item " width ="560 " height ="315 " src ="" data-src ="https://www.youtube.com/embed/iQU18hAjux4 "
210
- title ="YouTube video player " frameborder ="0 " allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share "
211
- allowfullscreen > </ iframe >
209
+ < lite-youtube videoid ="iQU18hAjux4 " autoload > </ lite-youtube >
212
210
</ div >
213
211
</ div >
214
212
</ div >
You can’t perform that action at this time.
0 commit comments