From 3bcf8439ef02aca13401ed7b48ac0079e469646f Mon Sep 17 00:00:00 2001 From: Wesley Luyten Date: Fri, 20 May 2022 11:26:07 -0500 Subject: [PATCH] feat!: name CastableVideo to CastableVideoElement BREAKING CHANGE: for consistency with other Mux media elements --- README.md | 10 +++++----- castable-video.js | 40 ++++++++++++++++++++-------------------- index.html | 2 +- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 775328e..b0cf048 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Cast your video element to the big screen with ease! -The lightweight `CastableVideo` class extends the native `HTMLVideoElement` API and adds casting functionality to any video element. The API was designed to have the feel of a native browser API similar to the other screen presentation API's. +The lightweight `CastableVideoElement` class extends the native `HTMLVideoElement` API and adds casting functionality to any video element. The API was designed to have the feel of a native browser API similar to the other screen presentation API's. It was primarily built for use in [Media Chrome](https://github.com/muxinc/media-chrome) but it works great with any custom video controls as you can see in the example. @@ -20,7 +20,7 @@ It was primarily built for use in [Media Chrome](https://github.com/muxinc/media - +