retext-project / retext

ReText: Simple but powerful editor for Markdown and reStructuredText
GNU General Public License v2.0
1.89k stars 196 forks source link

show embedded video #566

Closed matkoniecz closed 3 years ago

matkoniecz commented 3 years ago

In many places (for example github) embedding both video and images is possible.

Is it either expected to work in retext or feasible to add?

Or is it "massive amount of work needed in upstream project, feel free to make pull requests"

Either way thanks for this program!

I tried https://github.com/retext-project/retext/search?q=video&type=issues https://github.com/retext-project/retext/search?q=mp4&type=issues https://github.com/retext-project/retext/search?q=media&type=issues

mitya57 commented 3 years ago

Hi! It works for me. You just need to:

  1. Enable WebKit or WebEngine renderer from the Edit menu (both renderers show video for me).
  2. Use <video> tag for Markdown or .. image:: directive for reStructuredText (works with docutils ≥ 0.17). If something does not work, please give more detail.

Screenshot

matkoniecz commented 3 years ago

Thanks!

oh, I was trying the same syntax as with the image

I will close and reopen if it will not work