I read the docs (https://video-react.js.org/components/player/) and tried to change width and height of a video, but it didn't work.
I also found the same problem here:
video-react attribute width and height is not working
How can I rezise the video…
I am trying to save how much time a user spent watching video.
I stumbled upon the played video attribute:
It’s worth mentioning the played property — this tells us which time
ranges have been played within the media. For example:
var played =…
I want to toggle FullScreen. component has a toggleFullscreen method, but in docs just Class Components.
import React, { useRef } from 'react';
// Components
import { Player } from 'video-react';
export default () => {
const videoRef =…
How to use react-video-recorder with tensorflow plugin? Using react-webcam doesn`t problem but couldn't use together react-video-recorder and tensorflow.
function VideoRecord() {
const webcamRef = useRef(null);
const canvasRef = useRef(null);
…
I tried subscribeToStateChange but keep getting TypeError: playerRef.subscribeToStateChange is not a function
not sure what im doing wrong since I am using functional components.
here is the useEffect hook - trying to subscribe and set state at the…
I am trying to execute some logic whenever the user plays/pauses a video that is implemented using Video-React:
{
this.player = player;
}}
src={videoURL}
>
video-react
capture-frame
I'm trying to get a snapshot from a video-react using capture-frame but when I call the function captureFrame(video) it trhows the next.
error:Uncaught DOMException: Failed to execute 'toDataURL' on
'HTMLCanvasElement':…
I'm using the react-video-player component in my project & while using it in the page, it's showing me the following error. I have attached the screenshot.
Can anyone help ? I'm having the following code:
import React, { Component } from…
I am using react-responsive-audio-player in conjunction with video-react. When someone advances to the next audio playlist element, I would like to restart the video's playback.
Since these are both 3rd party components and do not have a Parent ->…
I am making an page that is to be used to show some internal videos in my company. There are five short videos so I thought of making the video player on the left, and a playlist on the right, kind of like how YouTube does it.
However, I want to be…
Honestly I'm not very good with this and I don't know how to solve it.
I want to make a video and movie player. I am using the blob urls in a react function. My problem is that the player keeps showing nothing or loading all the time. The video…
I have created one component in which I am mapping videos and passing each video to one child component.
In child component managing video play/pause, mute/unmute using videoRef which I have bind in video tag.
And on scroll up/down moving to…