If you paste a YouTube link on a line by itself in a WordPress post, WordPress embeds the video automatically.
That’s fuckin’ rad.
Raising a family in Thailand // Documenting Issan food, culture, music, and people
If you paste a YouTube link on a line by itself in a WordPress post, WordPress embeds the video automatically.
That’s fuckin’ rad.
In my previous post, I set an embedded video to start from a determined point partway through. The video was embedded with the new iframe tags (specifying HTML 5 instead of a Flash player, which is usable by a broader range of devices, but hasn’t been fully accepted by big developers like WordPress and ebay due to inherent security concerns).
This is the new parameter, which is to be appended to the end of the video link in the embed code:
#t=5m55s
(above, m equals minutes and s equals seconds)
——————————-
So in my previous post, the embed video code looks like this:
<iframe title=”YouTube video player” width=”560″ height=”349″ src=”http://www.youtube.com/embed/VLuHMB438gc#t=6m17s” frameborder=”0″ allowfullscreen ></iframe>
———————————
Google states that the actual starting point may vary by up to a couple seconds, so you should take this into account.