WebReflection / linkedom

A triple-linked lists based DOM implementation.
https://webreflection.medium.com/linkedom-a-jsdom-alternative-53dd8f699311
ISC License
1.66k stars 80 forks source link

MediaSource/HTMLMediaElement support? #165

Closed yegor211 closed 2 years ago

yegor211 commented 2 years ago

Hi. I didn't find it anywhere yet (maybe I missed something) but does linkedom provide support for MediaSource and other stuff related to media?

This is quite crucial for the current app I'm working on (which has to have that support in the Service Worker).

If anyone can also point me to any possible options (if linkedom doesn't have support or ability to get extended) - I would be happy to hear.

Thanks.

WebReflection commented 2 years ago

what kind of support are you considering? about contributing, the folder with elements with special features is here and how to contribute here.

yegor211 commented 2 years ago

what kind of support are you considering? about contributing, the folder with elements with special features is here and how to contribute here.

Thanks. I need to be able to use MediaSource as in normal environment (eg new MediaSource() etc).

Is it possible?

yegor211 commented 2 years ago

Sorry, closed by accident, not closed yet!

WebReflection commented 2 years ago

I need to be able to use MediaSource as in normal environment (eg new MediaSource() etc).

it is possible, the missing bits might be around accessors you'd like to set or get, and that's where things might become less granted/trivial ... hence my link to the (not even fully) supported elements. Is your element there? Great! Feel free to add anything it's missing in terms of accessors ... is it not? Apologies, for the purpose of the SSR library that might be missing or not too interesting, hence feel free to file a PR there 👍