castable-video
Advanced tools
Comparing version 0.4.5 to 0.5.0
@@ -32,2 +32,6 @@ /* global globalThis, chrome, cast */ | ||
static get castState() { | ||
return CastableVideo.#castContext?.getCastState(); | ||
} | ||
static async exitCast() { | ||
@@ -34,0 +38,0 @@ // Should the receiver application be stopped or just disconnected. |
@@ -0,1 +1,10 @@ | ||
# [0.5.0](https://github.com/muxinc/castable-video/compare/v0.4.5...v0.5.0) (2022-07-15) | ||
### Bug Fixes | ||
* add castState ([#9](https://github.com/muxinc/castable-video/issues/9)) ([25e39e8](https://github.com/muxinc/castable-video/commit/25e39e8876d5e9bce04664866e63421d41e4704f)) | ||
## [0.4.5](https://github.com/muxinc/castable-video/compare/v0.4.4...v0.4.5) (2022-06-15) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "castable-video", | ||
"version": "0.4.5", | ||
"version": "0.5.0", | ||
"description": "Cast your video element to the big screen with ease!", | ||
@@ -5,0 +5,0 @@ "main": "castable-video.js", |
@@ -47,2 +47,7 @@ # `is="castable-video"` | ||
- `CastableVideoElement.castEnabled`: `true` when the Cast SDK is available. | ||
- `CastableVideoElement.castState`: the current cast state. | ||
- `NO_DEVICES_AVAILABLE`: No cast devices are available. | ||
- `NOT_CONNECTED`: Cast devices are available, but a cast session is not established. | ||
- `CONNECTING`: Cast session is being established. | ||
- `CONNECTED`: Cast session is established. | ||
@@ -49,0 +54,0 @@ ### Events |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35186
587
77