Possible improvement in Learn/HTML/Multimedia_and_embedding/Video_and_audio_content

I am reading this page and find the sections ‘Restarting media playback’ and ‘Detecting track addition and removal’ out of context.

I find it odd because the document within HTML up to this point has been avoiding Javascript and CSS beautifully. And these two sections also don’t mention how these two Javascripts snippet applies to HTML.

I suspect that these two sections aren’t supposed to be here.

Hi there @Quan_Nguyen, and apologies for taking so long to reply to you on this.

I agree with you — those sections did look rather out of place. I’ve removed them.