-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: enable cast docs + cast fix #253
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## main #253 +/- ##
=======================================
Coverage 80.75% 80.75%
=======================================
Files 36 36
Lines 4297 4297
Branches 153 152 -1
=======================================
Hits 3470 3470
Misses 818 818
Partials 9 9 |
@@ -25,6 +25,10 @@ const CastableVideoMixin = (superclass) => | |||
return CastableVideo.#castEnabled; | |||
} | |||
|
|||
static get castState() { | |||
return CastableVideo.#castContext?.getCastState(); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix needed by media-chrome
@@ -62,6 +63,7 @@ function MuxPlayerPage() { | |||
> | |||
<h1>MuxPlayer Demo</h1> | |||
<div> | |||
<Script src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😎
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 😎
adds some docs to enable casting on the player.
moved the big wall of props/attrs/methods/events to be last in the readme.
unveiled 1 cast bug where the button would not show on SPA navigation in the Next.js app