You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I allow users to import some videos in their profile, and it can be done from various sources (Vimeo, dailymotion, Youtube, etc.)
But the sizes of the iframe got from $info->code->html are not the same acording to the source.
Is there a way (except javascript) to set the width and height in the code with your library ?
Thanks for the help !
The text was updated successfully, but these errors were encountered:
The best way to set a width & height to iframes is with CSS.
Websites don't always return width and height values or they don't match with the values in the html code. Sometimes is more useful the aspect-ratio value, because it allows to set any size to the iframe keeping the same proportions.
Hello,
I allow users to import some videos in their profile, and it can be done from various sources (Vimeo, dailymotion, Youtube, etc.)
But the sizes of the iframe got from
$info->code->html
are not the same acording to the source.Is there a way (except javascript) to set the width and height in the code with your library ?
Thanks for the help !
The text was updated successfully, but these errors were encountered: