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

div tag with html #60

Closed
manikmi opened this issue May 1, 2015 · 1 comment
Closed

div tag with html #60

manikmi opened this issue May 1, 2015 · 1 comment

Comments

@manikmi
Copy link

manikmi commented May 1, 2015

Hi,
It is not an issue, just a question. Is there a way to get the html with the div tag for video/rich embeds. Like for youtube embeds. I get html as

"<div style="left: 0px; width: 100%; height: 0px; position: relative; padding-bottom: 75.0019%;"><iframe src="https://www.youtube.com/embed/uyV1fsIGJKo?rel=0&amp;showinfo=1\" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" style="top: 0px; left: 0px; width: 100%; height: 100%; position: absolute;"></iframe>"

I want only the iframe/video tag.

Regards,
Manik Mittal

@iparamonau
Copy link
Member

This wrapper is what makes the embeds responsive. It can not be removed from HTML itself. However, if you use /iframely JSON endpoint, the iframe source will be given as href attribute of the player link.

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

2 participants