Embedding youtube in wordpress

It’s not as easy as I thought. The embed code from youtube doesn’t work because wordpress doesn’t allow embedding arbitrary code. After a quick search, I found this page with instructions on how to embed youtube videos. However, it was still not working for me. Then I read all the responses, and found that I had to take away the space between the [ ] brakets in the example.

Try it! The syntax is:

[<no_space>youtube=http://youtube.com/watch?v=NX0vk_pdQ2cA<no_space> ]

廣告

一個回應 to “Embedding youtube in wordpress”

  1. You can download the plug-ins to take care of it for you … search for “google video" or “youtube" in one of the plug-ins site.

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

%d 位部落客按了讚: