vivomedia/neos-privacy-shield

Privacy shield for third party content in Neos

Installs: 878

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Language:JavaScript

Type:neos-package

1.0.2 2023-12-13 16:45 UTC

This package is auto-updated.

Last update: 2024-11-13 18:50:06 UTC


README

Neos package to block third party content before consent was given.

Installation

composer require vivomedia/neos-privacy-shield

Example usage

prototype(Jonnitto.PrettyEmbedYoutube:Component.Youtube) {

    @process.wrap = Neos.Fusion:Component {
        @apply.props = ${props}

        renderer = afx`
            <VIVOMEDIA.PrivacyShield:Molecule.PrivacyShield type="youtube">
                <img src="{props.poster}" />
                <VIVOMEDIA.PrivacyShield:Atom.PrivacyBanner>
                    <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam</p>
                    <VIVOMEDIA.PrivacyShield:Atom.ConsentButton>Load video</VIVOMEDIA.PrivacyShield:Atom.ConsentButton>
                </VIVOMEDIA.PrivacyShield:Atom.PrivacyBanner>
            </VIVOMEDIA.PrivacyShield:Molecule.PrivacyShield>
        `
    }
}