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 2121< script src ="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.js "> </ script >
2222< script src ="/js/tabcontent.js "> </ script >
2323< 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 >
2525
2626< script type ="text/javascript ">
2727 $ ( document ) . ready ( function ( ) {
4242 ) ;
4343 } ) ;
4444</ 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 206206 Watch the Presentation
207207 </ h2 >
208208 < 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 >
212210 </ div >
213211 </ div >
214212 </ div >
You can’t perform that action at this time.
0 commit comments