Comments Xavier started the conversationOctober 15, 2020 at 3:43pmMy client would like the option to show a video hero as the thumbnail in the showcase / mainpage, but then when opening the portolio to have the still fallback image (instead of the video) in the hero section.Is that possible? Xavier replied privately 1,973Support repliedOctober 15, 2020 at 3:47pmHi Xavier, yes it is possible with a small custom worktry opening /sections/hero_image_section.php and remove or comment this bit<?php if( $munio_hero_properties->video ){ ?> <div class="hero-video-wrapper"> <video loop muted class="bgvid"> <?php if( !empty( $munio_hero_properties->video_mp4 ) ){ ?> <source src="<?php echo esc_url( $munio_hero_properties->video_mp4 ); ?>" type="video/mp4"> <?php } ?> <?php if( !empty( $munio_hero_properties->video_webm ) ){ ?> <source src="<?php echo esc_url( $munio_hero_properties->video_webm ); ?>" type="video/webm"> <?php } ?> </video> </div> <?php } ?>so lines 16 to 27Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyXavier repliedOctober 16, 2020 at 6:34pmThat did it, thank you! Sign in to reply ...
My client would like the option to show a video hero as the thumbnail in the showcase / mainpage, but then when opening the portolio to have the still fallback image (instead of the video) in the hero section.
Is that possible?
Hi Xavier, yes it is possible with a small custom work
try opening /sections/hero_image_section.php and remove or comment this bit
<?php if( $munio_hero_properties->video ){ ?>
<div class="hero-video-wrapper">
<video loop muted class="bgvid">
<?php if( !empty( $munio_hero_properties->video_mp4 ) ){ ?>
<source src="<?php echo esc_url( $munio_hero_properties->video_mp4 ); ?>" type="video/mp4">
<?php } ?>
<?php if( !empty( $munio_hero_properties->video_webm ) ){ ?>
<source src="<?php echo esc_url( $munio_hero_properties->video_webm ); ?>" type="video/webm">
<?php } ?>
</video>
</div>
<?php } ?>
so lines 16 to 27
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
That did it, thank you!