Skip to content

Commit

Permalink
fix video container size
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Aug 24, 2024
1 parent fc63f7f commit 6389098
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/YoutubePlayer/PlayerContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ const PlayerContainer: Component<{
icon={IconStop}
onClick={stop}
/>
<div ref={onPlayerElement} class="absolute inset-0 z-0 pb-25"></div>
<div ref={onPlayerElement} class="absolute inset-0 z-0 pb-32"></div>

{youtubeLink() != null && (
<div
class={
"absolute bottom-0 left-0 right-0 z-10 bg-secondary-darkest h-24 border-t-4 border-secondary-light flex flex-col text-secondary-light"
"absolute bottom-0 left-0 right-0 z-10 bg-secondary-darkest h-32 border-t-4 border-secondary-light text-secondary-light p-4"
}
>
<div class={"h-8 p-1 truncate"}>
Expand Down
2 changes: 1 addition & 1 deletion src/YoutubePlayer/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export async function loadYoutubeAdapter(container: HTMLDivElement): Promise<You
playerVars: {
rel: 0,
autoplay: 0,
modestbranding: 1,
// modestbranding: 1,
controls: 1,
},
});
Expand Down

0 comments on commit 6389098

Please sign in to comment.