2

It appears that embedding a YouTube video,

<iframe id="yt" src="https://www.youtube.com/embed/kBh1A3D2XP8"
        width="250" height="140" frameborder="0"
        webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="">
</iframe>

produces the following warning in Chrome (47.0.2526.106 m):

enter image description here

(Determined by setting a breakpoint and stepping out of the function a few times.)

The warning, transcribed:

SVG's SMIL animations (<animate>, <set>, etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead.

Is there something I can do to get rid of this warning?

I saw Deprecated SMIL SVG animation replaced with CSS or Web animations effects (hover, click) but my question is about Javascript I can't control (base.js comes from YouTube). Also found this Reddit thread with no solutions.

Community
  • 1
  • 1
Andrew Cheong
  • 29,362
  • 15
  • 90
  • 145
  • 1
    1 - set filters in your console. 2 - Ask Google to work a little bit on SMIL and to stop with this wrong message (SMIL is only deprecated by Chrome, not by the specs). + that's kind of ironic they do use it themselves in YT :-) – Kaiido Jan 07 '16 at 08:43

0 Answers0