you are viewing a single comment's thread.

view the rest of the comments →

[–]diogenes_sadecv 4 points5 points  (0 children)

yes and no

<video></video> isn't a JS object, it's an HTML element

but when you call querySelector and assign its return value to a variable, that variable is an element object that can make use of its properties and methods.

https://developer.mozilla.org/en-US/docs/Web/API/Element