Hà Lanlucasbento/react-native-thumbnail-video
Easily show thumbnails for videos on react-native.
🎬 react-native-thumbnail-video: Thumbnail video nhanh cho React Native
Thư viện nhỏ hiển thị thumbnail từ URL video, hỗ trợ YouTube, tùy chỉnh style và play icon.
react-native-thumbnail-video giúp dễ dàng render thumbnail từ URL video trong ứng dụng React Native. Hỗ trợ lấy thumbnail từ YouTube với các kích thước khác nhau, kèm play icon và xử lý sự kiện nhấn.
✨ Điểm nổi bật
- Tải thumbnail từ URL: Hỗ trợ YouTube và các URL video khác.
- Kích thước thumbnail: Chọn
default,high,medium,standardhoặcmaximum. - Tùy chỉnh style:
containerStyle,iconStyle,imageWidth,imageHeight. - Play icon: Tùy chọn hiển thị/không hiển thị icon play.
- Xử lý nhấn:
onPressmặc định mở URL video, có thể tùy chỉnh. - Children tùy chỉnh: Thêm component con bên trong thumbnail.
- Dễ dùng: Cài qua yarn, dùng trực tiếp component
<Thumbnail />.
💡 Vì sao đáng chú ý
Thư viện này tiết kiệm thời gian phát triển bằng cách cung cấp sẵn logic lấy và hiển thị thumbnail video, đặc biệt hữu ích cho ứng dụng có nhiều video. Hỗ trợ mạnh YouTube, giảm thiểu cấu hình thủ công.
#ReactNative #VideoThumbnail #YouTube #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Reverse engineer anything with agents, from app behavior down to native binaries.
Desktop app to download audio/video from hundreds of sites
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.