Friday, January 15, 2016

Embedding videos to blogger 2016

Seems like there is a change in embedding to blogger. After playing around on my last blogpost, just want to keep a record here.

On youtube and some web news site, you can see the embed code.


But if I paste directly to blogger HTML code, nothing comes out..

It's missing this part before the embed code,
<div class="separator" style="clear: both; text-align: center;">

And this part after the end of embed code,
</div>


Whole thing will look like this:

<div class="separator" style="clear: both; text-align: center;">
embed code
</div>


Update: normally when you hit HTML when composing your blogger post, this <div ....div> should be there. only when you don't see it is the above useful.

No comments:

Post a Comment