wagtail/docs/editor_manual/new_pages/inserting_videos.rst

19 wiersze
736 B
ReStructuredText
Czysty Wina Historia

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

.. _inserting_videos:
Inserting videos into body content
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is possible to embed media into the body text of a web page by clicking the *Embed* button in rich text toolbar.
.. image:: ../../_static/images/screen20_insert_video_form.png
* Copy and paste the web address for the media into the URL field and click Insert.
.. image:: ../../_static/images/screen21_video_in_editor.png
* A placeholder of the media will be inserted into the text area.
The embed button can be used to import media from a number of supported providers, you can see the `full list of supported providers in Wagtails source code <https://github.com/wagtail/wagtail/blob/main/wagtail/embeds/oembed_providers.py>`_.