File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2828 $ ( 'pre code' ) . each ( function ( i , e ) { hljs . highlightBlock ( e ) } ) ;
2929 } ) ;
3030</ script >
31- < script >
31+ < script type =" text/javascript " >
3232 $ ( function ( ) {
3333 $ ( ".dropdown" ) . hover (
3434 function ( ) { $ ( this ) . addClass ( 'open' ) } ,
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 ="https://www.youtube.com/embed/iQU18hAjux4 "
209+ < iframe class ="embed-responsive-item " width ="560 " height ="315 " src ="" data-src =" https://www.youtube.com/embed/iQU18hAjux4 "
210210 title ="YouTube video player " frameborder ="0 " allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share "
211- loading ="lazy "
212211 allowfullscreen > </ iframe >
213212 </ div >
214213 </ div >
You can’t perform that action at this time.
0 commit comments