{"id":20961804,"url":"https://github.com/heimrichhannot/contao-video-bundle","last_synced_at":"2025-06-10T10:06:25.292Z","repository":{"id":40268357,"uuid":"247653902","full_name":"heimrichhannot/contao-video-bundle","owner":"heimrichhannot","description":"This bundle brings enhanced video embedding support to contao with additional privacy options.","archived":false,"fork":false,"pushed_at":"2025-03-12T10:49:09.000Z","size":391,"stargazers_count":2,"open_issues_count":5,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-06T23:03:26.909Z","etag":null,"topics":["contao","vimeo","youtube"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heimrichhannot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-16T08:55:21.000Z","updated_at":"2025-02-27T11:05:33.000Z","dependencies_parsed_at":"2025-02-27T12:24:11.926Z","dependency_job_id":"d8b5d1cd-0bce-4ba2-9435-85416a5041f1","html_url":"https://github.com/heimrichhannot/contao-video-bundle","commit_stats":{"total_commits":96,"total_committers":8,"mean_commits":12.0,"dds":"0.47916666666666663","last_synced_commit":"10493a1ff3a7ea3cbfaec547f0d5fa975b032d65"},"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-video-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-video-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-video-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-video-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heimrichhannot","download_url":"https://codeload.github.com/heimrichhannot/contao-video-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254094854,"owners_count":22013649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contao","vimeo","youtube"],"created_at":"2024-11-19T02:17:35.521Z","updated_at":"2025-05-14T07:31:04.860Z","avatar_url":"https://github.com/heimrichhannot.png","language":"PHP","readme":"# Contao Video Bundle\n[![](https://img.shields.io/packagist/v/heimrichhannot/contao-video-bundle.svg)](https://packagist.org/packages/heimrichhannot/contao-video-bundle)\n[![](https://img.shields.io/packagist/dt/heimrichhannot/contao-video-bundle.svg)](https://packagist.org/packages/heimrichhannot/contao-video-bundle)\n\n\n\nThis bundle brings enhanced video embedding support to contao with additional privacy options and is the successor of our [YouTube Bundle](https://github.com/heimrichhannot/contao-youtube-bundle). \n\n## Features\n* Support for YouTube and Vimeo as video providers\n* Support for Videos from Contao File System\n    * integration of multiple sources for one video\n    * integration for subtitles\n    * integration for madia-queries on video \u003csource\u003e tag\n* Out-of-the-box-usage: \n    * Content Element\n    * News\n* enhance your users privacy with preview images, privacy notice before playing and no cookie urls\n* responsive Videos\n* expandable architecture\n* [Encore Bundle](https://github.com/heimrichhannot/contao-encore-bundle) support\n* [List Bundle](https://github.com/heimrichhannot/contao-list-bundle) and [Reader Bundle](https://github.com/heimrichhannot/contao-reader-bundle) support\n* Privacy Center Bundle support\n\n## Usage\n\n### Install\n\nInstall with contao manager or composer:\n\n    composer require heimrichhannot/contao-video-bundle\n    \nUpdate database afterwards.\n\n### Setup\n\n1. Setup the [configuration](https://docs.contao.org/manual/de/system/einstellungen/#config-yml) to your likes (see [configuration reference](docs/configuration.md) for all options):\n\n    ```yaml\n    huh_video:\n        # Enable support for news entity.\n        enable_news_support:    false\n        # Enable if by default no cookie embed urls should be used, if supported by the video provider. This can be overwritten on root pages.\n        default_use_no_cookie_video_url: false\n        # Enable if by default a privacy message should be displayed before playing the video. This can be overwritten on root pages.\n        default_display_privacy_notice: false\n    ```\n1. Clear cache and check for database updates after update your config\n1. Adjust template settings on root page if needed. You can also overwrite the default configuration there.\n    * If privacy center bundle installed, configure the integration there.\n\n1. Start adding videos as content element or to your news.\n    * Content Element: Select \"Video\" content element\n    * News:\n        * Check \"Add video\" in your news item\n        * output \"videoplayer\" variable in your news template\n\n\n### Customize\n\n#### Add custom video link texts\n\nAdd your wanted translation as [symfony translation](https://symfony.com/doc/4.4/translation.html) withing `huh_video.fields.videoLinkText` key. Example:\n\n```yaml\n# Projekt: app/Resources/translations/messages.en.yml\n# Bundle: src/Resources/translations/messages.en.yml\nhuh_video:\n  fields:\n    videoLinkText:\n      amazing: \"Show this amazing video!\"\n```\n\n#### Add custom media queries for file system videos\n\nThe `name` is optional and is used for better explanation to the backend user\n```yaml\nhuh_video:\n    media_queries:\n        xxl:\n            query: \"(min-width: 1200px)\"\n            name: \"Desktop\"\n```\n**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.**\n\n### Help\n\n#### IE Support\n\nTo make video bundle work in IE, you have to add polyfills:\n\n* https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach\n* https://developer.mozilla.org/en-US/docs/Web/API/Element/matches\n\n\n## Documentation\n\n[Developer documentation](docs/developers.md)\n\n[Configuration reference](docs/configuration.md)\n \n \n## Acknowledgments\n\nThe creation of this bundle and the vimeo integration was supported by [Liebchen+Liebchen GmbH](https://www.lplusl.de/).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-video-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheimrichhannot%2Fcontao-video-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-video-bundle/lists"}