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/fitparent props not working #49

Open
BRS7 opened this issue Nov 22, 2019 · 1 comment
Open

resize/fitparent props not working #49

BRS7 opened this issue Nov 22, 2019 · 1 comment

Comments

@BRS7
Copy link

BRS7 commented Nov 22, 2019

I'm having trouble resizing the iframe using the resize or fitparent props. Here is the code I used.

<div style="width: 100%">
<youtube :video-id="videoId" ref="youtube" @playing="playing" fitparent=true ></youtube>
</div>

<youtube :video-id="videoId" ref="youtube" @playing="playing" width="100%" resize=true ></youtube>

@Mat-Moo
Copy link

Mat-Moo commented Aug 25, 2020

Think you want fit-parent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants