From: Ihor Radchenko <yantar92@posteo.net>
To: Steinar Bang <sb@dod.no>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is it possible to embed youtube video in wordpress post created with org2blog
Date: Sun, 12 May 2024 15:52:07 +0000 [thread overview]
Message-ID: <87y18fgh94.fsf@localhost> (raw)
In-Reply-To: <877cg2lrh0.fsf@dod.no>
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>
prev parent reply other threads:[~2024-05-12 15:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y18fgh94.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=sb@dod.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).