Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Následující verze | Předchozí verze | ||
skoda-ep:common:featured_video [02.11.2017 12:09] Lukáš Čech vytvořeno |
— (aktuální) | ||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
- | ====== Article: Featured Video ====== | ||
- | |||
- | You can add featured images to an article by default. The following functionality extends this to allow you to also add videos from youtube. | ||
- | |||
- | The video is only shown when the visitor is viewing the detail of an article, or if the article is in the main position on the homepage/category page | ||
- | |||
- | |||
- | ===== How to configure an attachment ===== | ||
- | |||
- | When you want to use a video instead of an image, you need to follow these steps: | ||
- | |||
- | - Upload an image attachment (This image will be a preview for your video - this image is shown in the listings of article) | ||
- | - Edit the attachment and set "External Video URL" (on the right) {{ :skoda-ep:common:external_video_block.png?nolink&200 | }} | ||
- | - Use this attachment as a featured image of an article | ||
- | |||
- | This will create a video which will replace the featured image. Note that you should not use the featured image "Fluid" layout with a video as it might break the page. | ||
- | |||
- | ===== Result ===== | ||
- | ==== Homepage ==== | ||
- | |||
- | {{ :skoda-ep:common:homepage_video.png?nolink |}} | ||
- | |||
- | ==== Article detail ==== | ||
- | |||
- | {{ :skoda-ep:common:detail_video.png?nolink |}} | ||
- | |||
- | |||