muxinc / media-chrome

Custom elements (web components) for making audio and video player controls that look great in your website or app.
https://media-chrome.org
MIT License
1.11k stars 56 forks source link

hls-video-element 1.2.0 broken media-tracks import #899

Closed rssfrncs closed 1 month ago

rssfrncs commented 1 month ago

Sandbox https://vitejsvitevn8mer-ipu3--5173--34455753.local-credentialless.webcontainer.io/

The latest release of hls-video-element is attempting to import a broken module version of media-tracks.

"The requested module '/npm/media-tracks@0.3.1/+esm' does not provide an export named 'MediaTracksMixin'"

If i open the response for the module (script tag cdn) i see,

/**
 * Failed to bundle using Rollup v2.79.1.
 * If you believe this to be an issue with jsDelivr, and not with the package itself, please open an issue at https://github.com/jsdelivr/jsdelivr
 */
luwes commented 1 month ago

thanks for reporting! this was caused by a bug in the new media-elements repo release flow. it should be fixed in the latest release https://github.com/muxinc/media-elements/tree/main/packages/hls-video-element