Skip to content

Commit

Permalink
Merge pull request #15 from lem-onair/temp2/sbl
Browse files Browse the repository at this point in the history
hls.js video 크기 조절
  • Loading branch information
BYEONGRYEOL authored Jan 5, 2024
2 parents dba99ad + 6d62b75 commit e70730a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/HlsPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const HlsVideoPlayer = ({ videoUrl }) => {

return (
<div>
<video ref={videoRef} controls />
<video ref={videoRef} controls width="100%" height="100%" />
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ChannelDetail.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useEffect, useState } from "react";
import { useParams } from "react-router-dom";
import Header from "../components/header";
import HlsVideoPlayer from "../components/HlsPlayer";
import styled from "styled-components";
import Chat from "../components/Chat";
import HlsVideoPlayer from "../components/HlsPlayer";

const StreamingContainer = styled.div`
width: 100%;
Expand Down

0 comments on commit e70730a

Please sign in to comment.