Find Answers and Get Support › Forums › Cera – Intranet & Community Theme › Popular Features › Activity Stream › video on activity (mobile)
- This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago by Andrea.
-
AuthorPosts
-
@themopteryx
- 0 Topics
- 615 Posts
Hi @youfriend,
Could you share this specific URL of your website with us please? You can post it in your next reply and mark it as private to keep this between us.
Thank you.
April 28, 2020 at 13:50 #12142@themopteryx- 0 Topics
- 615 Posts
Hi @youfriend,
Don’t worry, we understand you very well!
In order to make your embeds medias responsive (like video coming from youtube for example), you have two solutions:
– Install the Jetpack plugin (https://wordpress.org/plugins/jetpack/) which will allow you to automatically make your videos responsive (like on our demo : https://intranet.cera-theme.com/activity)
– Use the FitVids for WordPress plugin, another plugin that makes your videos responsive. We have never tested it, but it should work.
If you don’t want to use a plugin to do this, you can still use the following code snippet:
.activity-inner > p > iframe, .activity-inner > iframe { height: auto; width: 100%; min-height: 28vw; } @media screen and (max-width: 768px) { .activity-inner > p > iframe, .activity-inner > iframe { min-height: 50vw; } }
To add this code snippet to your site, we recommend that you paste it to the Custom CSS panel of your WordPress Customizer. Just go to your dashboard and navigate to “Appearance > Customize > Additional CSS”.
Pasting your code snippet there should do the trick for you.Please note that this last solution, even if it does not require a new plugin, is certainly not the most optimal one.
Regards,
April 29, 2020 at 10:16 #12162 -
AuthorPosts
The topic ‘video on activity (mobile)’ is closed to new replies.