Refactored chat implementation to work with Websockets;
Fixed video.js working on Docker Container; Added sample video to VideoPlayer for now; Bug: Requests to the server take extra long to return a response;
This commit is contained in:
@@ -27,11 +27,14 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ streamId }) => {
|
||||
controls: true,
|
||||
fluid: true,
|
||||
responsive: true,
|
||||
// autoplay: true,
|
||||
loop: true,
|
||||
aspectRatio: "16:9",
|
||||
sources: [
|
||||
{
|
||||
src: `/api/hls1/${streamId}`,
|
||||
type: "application/x-mpegURL",
|
||||
src: `/images/sample_game_video.mp4`,
|
||||
// type: "application/x-mpegURL",
|
||||
type: 'video/mp4'
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user