{"id":46220,"library":"reflex-components-react-player","title":"Reflex react-player Components","description":"A Reflex component wrapping react-player for embedding video/audio from YouTube, Vimeo, SoundCloud, etc. Current version 0.9.1, compatible with Reflex >=0.5.0. Released periodically.","status":"active","version":"0.9.1","language":"python","source_language":"en","source_url":"https://github.com/reflex-dev/reflex-components-react-player","tags":["reflex","react-player","video","audio"],"install":[{"cmd":"pip install reflex-components-react-player","lang":"bash","label":"Default install"}],"dependencies":[{"reason":"Peer dependency, requires Reflex framework","package":"reflex","optional":false}],"imports":[{"note":"Package exports as a module, not a class. Correct import path includes the package name.","wrong":"from reflex_components import ReactPlayer","symbol":"ReactPlayer","correct":"from reflex_components_react_player import react_player"}],"quickstart":{"code":"import reflex as rx\nfrom reflex_components_react_player import react_player\n\nclass State(rx.State):\n    pass\n\ndef index() -> rx.Component:\n    return rx.container(\n        react_player(url=\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\", playing=True, controls=True)\n    )\n\napp = rx.App()\napp.add_page(index)\n","lang":"python","description":"Minimal Reflex app using react-player."},"warnings":[{"fix":"Use: from reflex_components_react_player import react_player","message":"The component's import is 'react_player' (lowercase, underscore) not 'ReactPlayer'. Many users mistakenly try to import a class named ReactPlayer.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade Reflex to >=0.5.0","message":"Reflex 0.5.0 introduced breaking changes to component API. This package requires Reflex >=0.5.0. Older Reflex versions will not work.","severity":"breaking","affected_versions":"<0.5.0"}],"env_vars":null,"search_vec":"'0.5.0':27 '0.9.1':23 'audio':35 'compat':24 'compon':5,8 'current':21 'embed':14 'etc':20 'period':29 'player':4,12,33 'react':3,11,32 'react-play':2,10,31 'reflex':1,7,26,30 'releas':28 'soundcloud':19 'version':22 'video':34 'video/audio':15 'vimeo':18 'wrap':9 'youtub':17","created_at":"2026-06-07T12:58:51.662652+00:00","updated_at":"2026-06-07T12:58:51.662652+00:00","problems":[{"fix":"Run: pip install reflex-components-react-player","cause":"Package not installed or installed in wrong environment.","error":"ModuleNotFoundError: No module named 'reflex_components_react_player'"},{"fix":"Change import to: from reflex_components_react_player import react_player","cause":"Incorrect import of a class name instead of the module.","error":"ImportError: cannot import name 'ReactPlayer' from 'reflex_components_react_player'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}