File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ function onYouTubeIframeAPIReady() {
114114 playerVars : { 'autoplay' : 0 , 'controls' : 1 } ,
115115 events : {
116116 'onReady' : function ( e ) {
117- e . target . a . parentElement . classList . add ( 'ready' )
117+ e . target . f . parentElement . classList . add ( 'ready' )
118118 } ,
119119 'onError' : function ( err ) { console . log ( err ) ; }
120120 }
@@ -126,7 +126,7 @@ function onYouTubeIframeAPIReady() {
126126 playerVars : { 'autoplay' : 0 , 'controls' : 1 } ,
127127 events : {
128128 'onReady' : function ( e ) {
129- e . target . a . classList . add ( 'ready' )
129+ e . target . f . classList . add ( 'ready' )
130130 } ,
131131 'onError' : function ( err ) { console . log ( err ) ; }
132132 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function onPlayerReady(event) {
1616
1717function playVideo ( ) {
1818 landingPlayer . playVideo ( ) ;
19- landingPlayer . a . classList . add ( 'playing' ) ;
19+ landingPlayer . f . classList . add ( 'playing' ) ;
2020 sampleVideo . classList . add ( 'is-hidden' ) ;
2121 playerControl . classList . add ( 'is-hidden' ) ;
2222}
You can’t perform that action at this time.
0 commit comments