Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
fix: add castState (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Jul 15, 2022
1 parent 0621f59 commit 25e39e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions castable-video.js
Expand Up @@ -29,6 +29,10 @@ export const CastableVideoMixin = (superclass) =>
return CastableVideo.#castEnabled;
}

static get castState() {
return CastableVideo.#castContext?.getCastState();
}

static async exitCast() {
// Should the receiver application be stopped or just disconnected.
const stopCasting = true;
Expand Down

1 comment on commit 25e39e8

@vercel
Copy link

@vercel vercel bot commented on 25e39e8 Jul 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

castable-video – ./

castable-video-git-main-mux.vercel.app
castable-video.vercel.app
castable-video-mux.vercel.app

Please sign in to comment.