Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize to the new size of object-fit #24

Open
shababcreative opened this issue Jan 20, 2020 · 0 comments
Open

Resize to the new size of object-fit #24

shababcreative opened this issue Jan 20, 2020 · 0 comments
Labels

Comments

@shababcreative
Copy link

Doesn't resize to the new size when changing the object-fit css of the video:
object-fit: fill:
image

object-fit: cover:
image

code:

	function setResize(mode) {
		vid.style.objectFit = mode;
		ass.resize();
	}
@weizhenye weizhenye added the bug label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants