Greasy Fork is available in English.

YouTube Sizer

Resizes the YouTube player to smaller sizes

< Feedback on YouTube Sizer

Review: Good - script works

§
Posted: 28-09-2023

Thank's for the script, any way to control height of the player ?

John BurtAuthor
§
Posted: 28-09-2023

As of now the CSS is hard coded in the script. The script would need to be modified to edit the CSS for the height of the player.

Deleted user 1252123
§
Posted: 23-01-2024

Certainly! To control the height of a player in a script, you can adjust the corresponding HTML or CSS properties. Assuming you're referring to an embedded media player like an for a video, here's a general example using inline styles:

<iframe src="your_video_url" width="640" height="360" style="height: 200px;">

In this example, the height attribute sets the initial height, and the inline style attribute adjusts it further. You can replace "200px" with your desired height value.

If you are dealing with a different type of player or have a specific script in mind, please provide more details for a more accurate response.

Here are links to some excellent HTML and CSS learning platforms:

1. W3School (https://www.w3schools.com/html/)
2. Iqra Technology (https://iqratechnology.com/academy/html-training/)
3. JavatPoint (https://www.javatpoint.com/html-tutorial)

Post reply

Sign in to post a reply.