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

Responsive/alignment broken in some cases with the oembed driver #24

Open
shaoshiva opened this issue Jul 27, 2016 · 0 comments
Open

Responsive/alignment broken in some cases with the oembed driver #24

shaoshiva opened this issue Jul 27, 2016 · 0 comments

Comments

@shaoshiva
Copy link
Contributor

In some cases the oEmbed driver will return the HTML content directly from the metadatas without calling the parent::display(). This breaks the responsive and alignment features.

To fix it we have to implement the possibility to pass the HTML content to the Driver::display(), something like that should do the trick :

$display = \Arr::get($params, 'content',  '<iframe'.(!empty($attributes) ? ' '.array_to_attr($attributes) : '').'></iframe>');
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

1 participant