how to put a youtube video in react
import React from "react" import ReactPlayer from "react-player" function App() { return ( <div> <ReactPlayer url="https://www.youtube.com/watch?v=ug50zmP9I7s" /> </div> ) } export default App
how to put a youtube video in react
import React from "react" import ReactPlayer from "react-player" function App() { return ( <div> <ReactPlayer url="https://www.youtube.com/watch?v=ug50zmP9I7s" /> </div> ) } export default App
insert youtube video react
import React, { Component } from 'react' import ReactPlayer from 'react-player' class App extends Component { render() { return ( <div> <ReactPlayer url='https://www.youtube.com/watch?v=rnwlWn603g4' className='react-player' playing width='100%' height='100%' /> </div> ); } }
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us