承接 interfrog/gdpr_youtube 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

interfrog/gdpr_youtube

Composer 安装命令:

composer require interfrog/gdpr_youtube

包简介

Hides Youtube Iframes to load after user click.

README 文档

README

TYPO3 GDPR Youtube Loader

This Extension creates a wrapper around Youtube Iframes, which are loaded only once the user has clicked on it. This intends to help comply to the GDPR Laws, which came into effect in May 2018. Since Version 2, this Extension adds a new Content Element, to make using youtube Iframes in your website easier.

Options and Customization

(Recommended) Set the PageUid of your Privacy Policy Page:

plugin.tx_gdpryoutube.settings.privacyPageUid

To unload the Default CSS, unset this TypoScript object:

page.includeCSS.youtubeDefault

To use your own Fluid Templates override these TypoScript Objects (CObject only)

tt_content.gdpryoutube_youtube.templateRootPaths
tt_content.gdpryoutube_youtube.partialRootPaths
tt_content.gdpryoutube_youtube.layoutRootPaths
tt_content.gdpryoutube_youtube.templateName
Or these if using the HTML variant::
plugin.tx_gdpryoutube.view.templateRootPaths plugin.tx_gdpryoutube.view.partialRootPaths plugin.tx_gdpryoutube.view.layoutRootPaths plugin.tx_gdpryoutube.view.templateName

To disable refactoring the Iframes and render them as normal, set:

plugin.tx_gdpryoutube.settings.enableReplacement = 0

To customize the Message, that is shown you may either set a blank text:

plugin.tx_gdpryoutube.settings.rawMessage

Or split your message up into up to three parts, one of them being wrapped with the link tag to your Privacy Policy Page and a before and after plaintext part. You may leave any of these empty. Note, that the rawMessage will allways take precedence.:

plugin.tx_gdpryoutube.settings.linkedBefore
plugin.tx_gdpryoutube.settings.linkedMessage
plugin.tx_gdpryoutube.settings.linkedAfter

To set a background image for the placeholder, add this attribute to your iframe (Pure HTML-Iframes only):

data-placeholder-bg="URL OF YOUR BACKGROUND IMAGE";

Folder structure

├── Classes         -> Controller to override Iframe rendering
├── Configuration   -> TypoScript Configuration
├── Resources
    ├── Private
        ├── Templates   -> Contains the Default Template
    ├── Public
        ├── Icons       -> Contains the placeholder Icons
        ├── Scripts     -> JavaScript to dynamically load the Iframes
        ├── Styles      -> Contains the Default styles

统计信息

  • 总下载量: 993
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2018-06-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固