View source for Action: Embed

Également disponible en ((/Doc/Deutsch/Aktionen/Embed Deutsch)), ((/Doc/English/Actions/Embed English)),  ((/Doc/Русский/Действия/Embed Русский))

Vous permet d'intégrer des PDF et des clips provenant de youtube et de certains autres sites.
Seuls les trois premiers arguments sont obligatoires. Le reste est optionnel.

##""{{embed url="file:the_movie.mp4 width=100 height=100 [align="left|center|right"]}}""##

===Exemple===
##""{{embed url="https://www.youtube-nocookie.com/embed/FH9X0Xbs_vk" width=480 height=360}}""##
{{embed url="https://www.youtube-nocookie.com/embed/FH9X0Xbs_vk" width=480 height=360}}


===Remarques===
  2.  If CSP is enabled what is recommended, you must set the CSP directives in your **csp_custom.conf**:
  1. check yor Content-Security-Policy settings
    * %%Content-Security-Policy:
	default-src 'self' *.wackowiki.org;
	script-src 'self' 'unsafe-inline' *.wackowiki.org;
	style-src 'self' 'unsafe-inline' *.wackowiki.org;
	img-src *;
	media-src 'self' youtube.com youtube-nocookie.com;
	object-src 'self' *.googlevideo.com *.ytimg.com *.youtube.com *.youtube-nocookie.com;
	frame-src 'self' *.youtube.com *.youtube-nocookie.com;%%
    * file:/csp_youtube_example.png
  1. set your Content-Security-Policy (CSP) in your secondary config  ##config['csp']## to **2** (custom)