Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I’m trying to embed a YouTube video in a Tumblr text post. I would use the Tumblr video post type, but that doesn’t give the post a title. I’ve pasted in the YouTube embed HTML into my post, using the HTML editing mode of Tumblr’s post editing textbox.

When I publish the post to my Tumblr, it puts <p> tags around YouTube’s embed code. This causes some style issues, and incidentally is invalid HTML.

How can I stop the <p> tags being inserted?

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

You'll need to switch from the editor that you're using to one that allows you better control of the HTML.

Account > Preferences > Edit posts using > plain text/HTML

If you were using the rich text editor it would have automatically put in those <P> tags no matter how many times you edit them out.

Switching to another editor will give you the ability to now post without extraneous tags being put into your tumblr posts.

share|improve this answer
    
Tremendous, cheers. (No idea why I didn’t think to look in the preferences; I guess as most of Tumblr’s options seem to be right there next to the thing you’re trying to work with, I assumed this would be the same.) –  Paul D. Waite Mar 17 '11 at 16:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.