ewels / CPT-Bootstrap-Carousel

WordPress plugin which generates a custom post type for choosing images and content. Outputs Bootstrap Image Carousel (slider) HTML from a shortcode.
http://wordpress.org/plugins/cpt-bootstrap-carousel/
GNU General Public License v2.0
51 stars 36 forks source link

Added video support for YouTube & Vimeo #85

Closed dave-lang closed 8 years ago

dave-lang commented 8 years ago

Added in video support for YouTube & Vimeo using extra fields to store video URL & aspect ratio setting, outputs them instead of the image & text. It supposed auto-pausing on slide away from the video. As apart of this I've renamed the Image Url box to 'Slide Options' and fixed a typo. Tested it on both background & normal image carousels - its responsive friendly.

I've added this as it's something our users have requested, if it's not suitable for the original or needs changes let me know. If I get some time I'll add in some action hooks to automatically retrieve & set the featured image to the video thumbnail if it isn't set already.

ewels commented 8 years ago

Super nice, thanks! I can imagine that lots of plugin users will find this useful, thanks for contributing..