diff --git a/docs/about.mdx b/docs/about.mdx index 8eb2a83..da05c58 100644 --- a/docs/about.mdx +++ b/docs/about.mdx @@ -8,12 +8,18 @@ import useBaseUrl from '@docusaurus/useBaseUrl'; ![npm](https://img.shields.io/npm/v/react-native-peertube-iframe?style=for-the-badge) ![npm](https://img.shields.io/npm/dm/react-native-peertube-iframe?style=for-the-badge) -A wrapper of the **Peertube-iframe API** built for react native. +A wrapper of the Peertube IFrame player API build for react native. +This wrapper is based on [react-native-youtube-iframe](https://github.com/LonelyCpp/react-native-youtube-iframe) +You may still find some imported code or documentations inherited from this repository. - ✅ Works seamlessly on both ios and android platforms -- ✅ Uses the webview player which is known to be more stable +- ✅ Uses the webview player which is known to be stable - ✅ Supports multiple peertube player instances in a single page - ✅ Works on modals and overlay components - ✅ Expo support +- ❌ Playlist support +- ❌ Password support Docusaurus with Keytar + +A demo application can be found here : FIXME \ No newline at end of file diff --git a/readme.md b/readme.md index 75b542d..dfb64fd 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,5 @@ # React Native Peertube iframe -// FIXME -WARNING DO NOT USE THIS PROJECT FOR NOW. - ![npm](https://img.shields.io/npm/v/react-native-peertube-iframe?style=for-the-badge) ![npm](https://img.shields.io/npm/dm/react-native-peertube-iframe?style=for-the-badge) A wrapper of the Peertube IFrame player API build for react native. diff --git a/src/PeertubeIframe.js b/src/PeertubeIframe.js index 963df72..c026bb3 100644 --- a/src/PeertubeIframe.js +++ b/src/PeertubeIframe.js @@ -1,7 +1,6 @@ import React, { useRef, useMemo, - useState, useEffect, forwardRef, useCallback, diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 590a847..876e696 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -16,7 +16,7 @@ module.exports = { title: 'React Native Peertube-iframe', logo: { alt: 'React Native Peertube-iframe Logo', - src: 'img/logo.svg', + src: 'img/logo.png', }, items: [ { diff --git a/website/static/img/demo.gif b/website/static/img/demo.gif index bb75ef3..fca6568 100644 Binary files a/website/static/img/demo.gif and b/website/static/img/demo.gif differ diff --git a/website/static/img/favicon.ico b/website/static/img/favicon.ico index 87db56d..3b0df5c 100644 Binary files a/website/static/img/favicon.ico and b/website/static/img/favicon.ico differ diff --git a/website/static/img/logo.png b/website/static/img/logo.png new file mode 100644 index 0000000..3424d64 Binary files /dev/null and b/website/static/img/logo.png differ diff --git a/website/static/img/logo.svg b/website/static/img/logo.svg deleted file mode 100644 index 0a8c3e5..0000000 --- a/website/static/img/logo.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file