vue-youtube
vue-youtube copied to clipboard
resize/fitparent props not working
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>
Think you want fit-parent