* Is it possible to embed youtube video in wordpress post created with org2blog
@ 2024-05-09 19:23 Steinar Bang
2024-05-12 15:52 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Steinar Bang @ 2024-05-09 19:23 UTC (permalink / raw)
To: emacs-orgmode
I use org2blog to create posts for https://steinar.bang.priv.no
Right now I'm working on a blog post where I would like to embed a
youtuble video, but I can't figure out how.
Is it possible?
I tried the obvious approach, which is the same way I embed images, i.e.
[[https://www.youtube.com/watch?v=tcihVdB7oU8]]
But that only showed the URL in the blog post
(Note: the blog post isn't posted yet, it's just a draft, so this could
be a difference in the preview)
Thanks!
- Steinar
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Is it possible to embed youtube video in wordpress post created with org2blog
2024-05-09 19:23 Is it possible to embed youtube video in wordpress post created with org2blog Steinar Bang
@ 2024-05-12 15:52 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-05-12 15:52 UTC (permalink / raw)
To: Steinar Bang; +Cc: emacs-orgmode
Steinar Bang <sb@dod.no> writes:
> I use org2blog to create posts for https://steinar.bang.priv.no
>
> Right now I'm working on a blog post where I would like to embed a
> youtuble video, but I can't figure out how.
>
> Is it possible?
>
> I tried the obvious approach, which is the same way I embed images, i.e.
> [[https://www.youtube.com/watch?v=tcihVdB7oU8]]
>
> But that only showed the URL in the blog post
You will probably need to embed youtube iframe.
For example, using
https://github.com/org2blog/org2blog?tab=readme-ov-file#raw-html-creation
Also, you can define a custom link type as described in
https://bitspook.in/blog/extending-org-mode-to-handle-youtube-links/ or
as done in https://github.com/TobiasZawada/org-yt
Although, you may need to adjust things for org2blog export backend,
which is not html AFAIU.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-12 15:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 19:23 Is it possible to embed youtube video in wordpress post created with org2blog Steinar Bang
2024-05-12 15:52 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).