BlogFeaturedVideo
Extends the Rainlab Blog plugin with the possibility of selecting a featured video
BlogFeaturedVideo
Extends the Rainlab Blog plugin with the possibility of selecting a featured video
This plugin extends the rainlab.blog with the possibility of selecting a featured video.
Setting a featured video
- Edit your blog post
- Go to the manage tab
- Fill in your vimeo/youtube iframe content in the Featured Video textarea
- Save
See the Documentation tab for details about updating the blog post details page template.
Installation via Command Line
php artisan plugin:install Simplicitylab.BlogFeaturedVideo
Use the following code to embed a video to the blog post page:
{% if post.featuredvideo.hasVideo %}
<div class="video-wrapper">{{ post.featuredvideo.iframe_content|raw }}</div>
{% endif %}
-
Wojciech Krakowiak
Nice plugin. Is there a possibility to add translation extension, so I can have videos in various languages? I tried to do it by extending model as it is written here: https://octobercms.com/plugin/rainlab-translate, however it's not working.
-
| 1.1.0 |
add manage featured video permissions Nov 21, 2015 |
|---|---|
| 1.0.2 |
field should also be visible on create post instead of only on update post Nov 21, 2015 |
| 1.0.1 |
Create featured videos table Jun 29, 2015 |