From d2ac897898f43b082a4ae880a162eac84f32e6d9 Mon Sep 17 00:00:00 2001 From: Jesse Portnoy Date: Mon, 24 Jul 2023 04:11:05 +0100 Subject: [PATCH 01/10] Almost there.. --- README.md | 3 +- src/demo/App.js | 8 ++++ src/patterns.js | 2 + src/players/Asciinema.js | 90 +++++++++++++++++++++++++++++++++++++++ src/players/index.js | 6 +++ test/players/Asciinema.js | 64 ++++++++++++++++++++++++++++ yarn.lock | 6 +-- 7 files changed, 175 insertions(+), 4 deletions(-) create mode 100644 src/players/Asciinema.js create mode 100644 test/players/Asciinema.js diff --git a/README.md b/README.md index fe13637a..b091e3dc 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@

- A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, Mixcloud, DailyMotion and Kaltura. Not using React? No problem. + A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, Mixcloud, DailyMotion, Kaltura and asciinema. Not using React? No problem.

### Migrating to ReactPlayer `v2.0` @@ -337,6 +337,7 @@ You can also specify a `type` for each source by using objects with `src` and `t * DailyMotion videos use the [DailyMotion Player API](https://developer.dailymotion.com/player) * Vidyard videos use the [Vidyard Player API](https://knowledge.vidyard.com/hc/en-us/articles/360019034753-Using-the-Vidyard-Player-API) * Kaltura's `react-player` implementation uses the embed.ly [`Player.js`](https://github.com/embedly/player.js) API but Kaltura specific APIs are also available, see [Kaltura Player API](http://player.kaltura.com/docs/index.php?path=kwidget) +* Asciinema casts use the [Asciinema API](https://github.com/asciinema/asciinema-player#api) * [Supported file types](https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats) are playing using [`