-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Do not define width and height #41
Comments
Great component, compliments for that. I have the same issue as @chou666 mentioned, i would like to have no width/height set. And or those options would be nice: |
If not provided, the player will fallback to the max widht and height that the Video Supports, is that what you want? |
If you want a responsive player, you would have to do some CSS magic in any case, a bit of position absolute here and there and aspect ratios |
setting the responsive option to true helped me solve this |
Many thanks to @Mjavala for yout tips ! This solve my problem: In data section:
In template:
|
In my case, I want to have the iframe with width="100%" and height="100%" ( or to be manage in CSS). But the width and height are sent to the player, the value id 100px
For backwards compatibility, defined width and height option of the player only if not null
The text was updated successfully, but these errors were encountered: