kopia lustrzana https://github.com/wagtail/wagtail
16 wiersze
659 B
ReStructuredText
16 wiersze
659 B
ReStructuredText
|
|
.. _inserting_videos:
|
|
|
|
Inserting videos into body content
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
As well as inserting videos into a carousel, Wagtail's rich text fields allow you to add videos into the body of a page by clicking the *Add video* button in the toolbar.
|
|
|
|
.. image:: ../../_static/images/screen20_insert_video_form.png
|
|
|
|
* Copy and paste the web address for the video (either YouTube or Vimeo) into the URL field and click Insert.
|
|
|
|
.. image:: ../../_static/images/screen21_video_in_editor.png
|
|
|
|
* A placeholder with the name of the video and a screenshot will be inserted into the text area. Clicking the X in the top corner will remove the video.
|