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

docs: mui mediastore example #868

Closed cjpillsbury closed 3 months ago

cjpillsbury commented 3 months ago

Adding an example page for using the new React integration (hooks etc) with React components. Also added time utils to the react media store export to be easily usable by components.

Deployed page of example: https://media-chrome-demo-nextjs-git-fork-cjpillsbury-docs-m-824907-mux.vercel.app/material-ui-player-chrome

vercel[bot] commented 3 months ago

@cjpillsbury is attempting to deploy a commit to the Mux Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
media-chrome ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 8:02pm
media-chrome-demo-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 8:02pm
media-chrome-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 8:02pm
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 87.50000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 72.35%. Comparing base (3ea80df) to head (0090506). Report is 51 commits behind head on main.

:exclamation: Current head 0090506 differs from pull request most recent head 7e8ba2a. Consider uploading reports for the commit 7e8ba2a to get more accurate results

Files Patch % Lines
src/js/media-duration-display.js 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #868 +/- ## ========================================== - Coverage 78.55% 72.35% -6.21% ========================================== Files 59 79 +20 Lines 11080 15457 +4377 ========================================== + Hits 8704 11184 +2480 - Misses 2376 4273 +1897 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.