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
Hey @Kikobeats, also came here looking for something like this. It has been the only major problem for us while using Microlink, so maybe I can share the problem that we have run into:
When designing for mobile web, or really big screens, we need to be able to control the dimensions while maintaining the aspect ratio or overriding it. So, when previewing videos, like on Youtube or Vimeo: we'd like to default to the aspect ratios that they specify in their oEmbed urls. In those cases, an ability to specify a maxWidth would be great.
Alternatively, do you think for iFrames, there should be a way where the React component takes 100% of the container width and the users just control the container themselves?
This issue should be to address at least the possibility to customize iframe options.
That should help you to adapt the response according to your use case, but it isn't a complete solution because the support of these options depends on the provider
Even we implement an affordable way to pass the iframe parameters through Microlink API, a subset of providers will be not support this customization (and that's ok).
I feel if you want to have granular control over this you need to wrap the embed in another higher component order
The Microlik API iframe query parameter accepts an object, being that the option to be passed in order to customize the iframe dimensions
Need to find an affordable way to pass these option from Microlink SDK to Microlink API
The text was updated successfully, but these errors were encountered: