AirenSoft / OvenPlayer

OvenPlayer is JavaScript-based LLHLS and WebRTC Player for OvenMediaEngine.
https://airensoft.com/ome.html
MIT License
515 stars 126 forks source link

Add HTMLElement as supported type for container #438

Closed manufacturedba closed 1 month ago

manufacturedba commented 1 month ago

This doc PR updates the accepted types to OvenPlayer.create to include HTMLElement as it's supported by the validator.

I've long been using it this way, but ran into some type errors when incorporating DefinitelyTyped. I figured the docs should reflect the correct state first before make the type adjustment.

SangwonOh commented 1 month ago

@manufacturedba Great. Thanks.