File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -492,7 +492,7 @@ <h2>Analysis Result:</h2>
492
492
iframe . height = '315' ;
493
493
494
494
iframe . src = `https://www.youtube.com/embed/${ videoId } ` ;
495
- iframe . src += '?enablejsapi=1' ;
495
+ iframe . src += '?feature=oembed& enablejsapi=1' ;
496
496
if ( r . parts . parameters . obj . hasOwnProperty ( 't' )
497
497
&& / \d + / i. test ( r . parts . parameters . obj . t ) ) {
498
498
iframe . src += '&start='
@@ -505,8 +505,8 @@ <h2>Analysis Result:</h2>
505
505
}
506
506
iframe . src += `&origin=${ encodeURIComponent (
507
507
window . location . hostname ) } `;
508
- iframe . src += `&widget_referrer= ${ encodeURIComponent (
509
- window . frames . top . document . referrer ) } ` ;
508
+
509
+ iframe [ "data-gtm-yt" ] = "true" ;
510
510
511
511
iframe . frameBorder = '0' ;
512
512
iframe . allowFullscreen = true ;
You can’t perform that action at this time.
0 commit comments