{"id":15201699,"url":"https://github.com/lucasbento/react-native-thumbnail-video","last_synced_at":"2025-10-02T17:30:47.983Z","repository":{"id":57340932,"uuid":"107952064","full_name":"lucasbento/react-native-thumbnail-video","owner":"lucasbento","description":"Easily show thumbnails for videos on react-native.","archived":true,"fork":false,"pushed_at":"2019-02-05T14:01:30.000Z","size":3231,"stargazers_count":106,"open_issues_count":6,"forks_count":36,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-15T16:00:42.504Z","etag":null,"topics":["react-native","thumbnails","video","youtube","youtube-api","youtube-video"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucasbento.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-23T08:17:07.000Z","updated_at":"2023-10-13T04:07:11.000Z","dependencies_parsed_at":"2022-09-08T18:40:24.246Z","dependency_job_id":null,"html_url":"https://github.com/lucasbento/react-native-thumbnail-video","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasbento%2Freact-native-thumbnail-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasbento%2Freact-native-thumbnail-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasbento%2Freact-native-thumbnail-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasbento%2Freact-native-thumbnail-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasbento","download_url":"https://codeload.github.com/lucasbento/react-native-thumbnail-video/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235025994,"owners_count":18924377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react-native","thumbnails","video","youtube","youtube-api","youtube-video"],"created_at":"2024-09-28T03:21:16.275Z","updated_at":"2025-10-02T17:30:42.520Z","avatar_url":"https://github.com/lucasbento.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n  react-native-thumbnail-video \u0026middot;\n \n  \u003ca href=\"https://travis-ci.org/lucasbento/react-native-thumbnail-video\"\u003e\n    \u003cimg src=\"https://travis-ci.org/lucasbento/react-native-thumbnail-video.svg?branch=master\" /\u003e\n  \u003c/a\u003e\n\u003c/h1\u003e\n\u003cp\u003e\n  Easily show thumbnails for videos using React Native.\n\u003c/p\u003e\n\n## Demo\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://cdn.rawgit.com/lucasbento/react-native-thumbnail-video/master/media/demo.gif\" width=\"250\" /\u003e\n\u003c/p\u003e\n\n\u003e See the demo on Expo: [@lucasbento/react-native-thumbnail-video-example](https://expo.io/@lucasbento/react-native-thumbnail-video-example)\n\n## Installation\n\n```sh\nyarn add react-native-thumbnail-video\n```\n\n## Usage\n\n```jsx\nimport { Thumbnail } from 'react-native-thumbnail-video';\n\n// ...\n  render() {\n    return (\n      \u003cThumbnail url=\"https://www.youtube.com/watch?v=lgj3D5-jJ74\" /\u003e\n    )\n  }\n// ...\n```\n\n## Props\n\n##### [Extends `Image` prop-types](https://facebook.github.io/react-native/docs/image.html#props)\n\n##### `url` (string)\nURL of the video\n\n##### `type` ([string])\nCan be either `default`, `high`, `medium`, `standard` or `maximum`.\n\n##### `imageWidth` (number/string)\nWidth of the image. Defaults to the device width.\n\n##### `imageHeight` (number/string)\nHeight of the image. Defaults to `200`.\n\n##### `containerStyle` ([ViewPropTypes.style](https://facebook.github.io/react-native/docs/view.html#style))\nStyle of the container using `TouchableOpacity`.\n\n##### `iconStyle` ([ImagePropTypes.style](https://facebook.github.io/react-native/docs/image.html#style))\nStyle of the icon image.\n\n##### `showPlayIcon` (boolean)\nShow play icon. Defaults to true.\n\n##### `onPress` (function)\nFunction to be called when the user presses the thumbnail. Defaults to opening the video URL.\n\n##### `onError` (function)\nFunction to be called when there's an error on the default `onPress` function.\n\n##### `children` (component)\nCustom component to render inside of the thumbnail.\n\n## License\n\nMIT © [Lucas Bento](http://github.com/lucasbento)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasbento%2Freact-native-thumbnail-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasbento%2Freact-native-thumbnail-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasbento%2Freact-native-thumbnail-video/lists"}