When using YouTube on your computer, the size of your video player will automatically adapt based on the available space in your browser window.
If you want to manually change the size of your video player, simply adjust the size of your browser. You can also select the Theater mode button in the bottom corner of the video player to view your video in a large player without going into full screen, or the Miniplayer button to view in a smaller player.