Jekyll embed iframe not working

I search a lot in both Google and here in SO, but I did not find the answer.

I use jekyll, and on the about-me page I insert this , this one iframelooks like this:

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=298 height=52 src="http://music.163.com/outchain/player?type=2&id=29750802&auto=0&height=32"></iframe>

I used it on my page with me:

{% raw %}
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=298 height=52 src="http://music.163.com/outchain/player?type=2&id=29750802&auto=0&height=32"></iframe>
{% endraw %}

Everything seems to be in order, but it didn’t work, instead of what I wanted, it shows the raw text, not iframe.

I tried almost everything and still do not work ...

+4
source share
1 answer

As I said, I tried everything. And finally, when I add double quotes to

width=298 height=52

like this:

width="298" height="52"

It finally worked!

youtube, , youtube width height . , - - , , , .

+2

Source: https://habr.com/ru/post/1583911/


All Articles