wagtail/docs/editor_manual/new_pages/inserting_videos.rst

19 wiersze
736 B
ReStructuredText
Czysty Zwykły widok Historia

.. _inserting_videos:
2014-03-25 14:14:18 +00:00
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.
2014-03-25 14:14:18 +00:00
.. image:: ../../_static/images/screen20_insert_video_form.png
2014-03-25 14:14:18 +00:00
* Copy and paste the web address for the media into the URL field and click Insert.
2014-03-25 14:14:18 +00:00
.. image:: ../../_static/images/screen21_video_in_editor.png
2014-03-25 14:14:18 +00:00
* 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>`_.