Module Description
This module add support for embedding HTML5 videos into your website using Video Embed Field
Usage
* Install module
* Add video embed field and enable "HTML5" provider
* Add link that ends with mp4/ogg/webm
Generating thumbnails
There are two ways you can generate thumbnails for a HTML5 video:
* Server side: using the PHP FFmpeg module. This requires you to configure the module properly and add the dependent binaries.
* Client side: if, for some reason, you are unable to use the above (preferred) solution, the thumbnails can be created on page load. A new CANVAS object will be created which uses the first frame of the video as a thumbnail.
Known issues
* When using the colorbox fomatter, there is a padding applied on the bottom of the video. This will be fixed if https://www.drupal.org/node/2870151 is committed
* When using the thumbnail formatter without the PHP FFmpeg module, image styles won't be applied. This is because a canvas object is created. This object will inherit the width of the parent container. The canvas object is responsive though
Usage
* Install module
* Add video embed field and enable "HTML5" provider
* Add link that ends with mp4/ogg/webm
Generating thumbnails
There are two ways you can generate thumbnails for a HTML5 video:
* Server side: using the PHP FFmpeg module. This requires you to configure the module properly and add the dependent binaries.
* Client side: if, for some reason, you are unable to use the above (preferred) solution, the thumbnails can be created on page load. A new CANVAS object will be created which uses the first frame of the video as a thumbnail.
Known issues
* When using the colorbox fomatter, there is a padding applied on the bottom of the video. This will be fixed if https://www.drupal.org/node/2870151 is committed
* When using the thumbnail formatter without the PHP FFmpeg module, image styles won't be applied. This is because a canvas object is created. This object will inherit the width of the parent container. The canvas object is responsive though
Module Link
Project Usage
2309
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module solves the issue of embedding HTML5 videos into a website using Video Embed Field, allowing for the generation of thumbnails through server-side or client-side methods.
Data Name
video_embed_html5