Home › Forums › Bee WordPress Theme › Video display in lightbox from masonry portfolio › Reply To: Video display in lightbox from masonry portfolio
Hi
Sure,
http://themeforest.net/author_dashboard#comment_5339845
The Video Type post can be played in masonry blog list module ( screenshot: http://d.pr/i/OXN6It ). It is possible to make the video be shown in Lightbox by change a little template code. The thumbnail will be replaced the video player part in masonry list . The changing is tested by supporting Youtube and Vimeo only. The thumbnail is not supported mouseover effect(3Dflip/fold). If it is what you want, I’ll write a guide to achieve it.
1. Replace the code: line 208-224 of bee/functions/functions-view-module.php (Screenshot: http://d.pr/i/JaDj ) as:
<?php if(has_post_thumbnail()): ?><a href="<?php echo $post_option_textarea_embeded; ?>" class="lightbox" title="<?php the_title(); ?>"><img alt="<?php the_title(); ?>" src="<?php echo $thumb_src_360[0]; ?>" ></a><?php endif; ?>
2. Add new page / Switch to Page Builder / Choose module / Blog / edit the blog module / Masonry list
Select a category. Make sure there are the video posts in the selected category. (Screenshot: http://d.pr/i/wHKo )
Don’t forget paste the Vimeo or Youtube emebed code in video post: http://d.pr/i/uUYm