Download the PHP
package heimrichhannot/contao-video-bundle without Composer
On this page you can find all versions of the php package
heimrichhannot/contao-video-bundle. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor heimrichhannot Package contao-video-bundle Short Description This bundle brings enhanced video embedding support to contao with additional privacy options. License
LGPL-3.0-or-later
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package contao-video-bundle
Contao Video Bundle
This bundle brings enhanced video embedding support to contao with additional privacy options and is the successor of our YouTube Bundle.
Features
Support for YouTube and Vimeo as video providers
Support for Videos from Contao File System
integration of multiple sources for one video
integration for subtitles
integration for madia-queries on video tag
Out-of-the-box-usage:
Content Element
News
enhance your users privacy with preview images, privacy notice before playing and no cookie urls
Setup the configuration to your likes (see configuration reference for all options):
Clear cache and check for database updates after update your config
Adjust template settings on root page if needed. You can also overwrite the default configuration there.
If privacy center bundle installed, configure the integration there.
Start adding videos as content element or to your news.
Content Element: Select "Video" content element
News:
Check "Add video" in your news item
output "videoplayer" variable in your news template
Customize
Add custom video link texts
Add your wanted translation as symfony translation withing huh_video.fields.videoLinkText key. Example:
Add custom media queries for file system videos
The name is optional and is used for better explanation to the backend user
Note: Some browsers do not support media-queries on video element, even more it breaks autoplay. So just remove media-queries(it is not mandatory - just let the media-query field empty) from video source, if you want all browsers to autoplay on load.
Help
IE Support
To make video bundle work in IE, you have to add polyfills:
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package heimrichhannot/contao-video-bundle contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.