Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
skoda-ep:modules:shortcodes:embed-share [01.08.2018 07:34]
Lukáš Čech [Optional attributes]
skoda-ep:modules:shortcodes:embed-share [01.08.2018 07:50] (aktuální)
Lukáš Čech [Hiding iframe for unsupported resolutions]
Řádek 31: Řádek 31:
 URL attribute is required and should be a valid URL or a relative URL on the current domain, e.g. https://​google.com or /​en/​interesting-page/​ URL attribute is required and should be a valid URL or a relative URL on the current domain, e.g. https://​google.com or /​en/​interesting-page/​
  
 +===== Hiding iframe for unsupported resolutions =====
 +
 +As of August 2018 it is possible to hide the embed when it becomes smaller than the resolution it can support. Instead a message will be shown to the user:
 +
 +
 +{{ :​skoda-ep:​modules:​shortcodes:​embed-share:​hiding-threshold.png | }}
 +
 +
 +You can use this option by specifying a shortcode attribute or using the widget Embed Share and putting the number in the following field:
 +
 +{{ :​skoda-ep:​modules:​shortcodes:​embed-share:​hide-below.png | }}
 ==== Optional attributes ==== ==== Optional attributes ====