AmauriC / tarteaucitron.js

RGPD friendly cookie manager
https://tarteaucitron.io/
MIT License
913 stars 366 forks source link

Ajouter le mode `library` au service Calameo #1260

Open AmauriC opened 2 months ago

AmauriC commented 2 months ago
<iframe src="//v.calameo.com/library/?type=subscription&id=XXX" />
GroupeMO commented 1 month ago

Bonjour,

Cela ne semble pas vouloir fonctionner, voici mon code test :

            `<p>Version iframe Calaméo library (OK)</p>
            <p style="font-size: small;color: darkred">Début</p>
            <iframe src="//v.calameo.com/library/?type=account&id=7270896&rows=1&sortBy=latestPublished&theme=any&bgColor=eef1f1&thumbSize=large&showTitle=false&showShadow=true&showGloss=true&showInfo=no&linkTo=view&linkTarget=_blank" width="60%" height="240" frameborder="0" allowfullscreen allowtransparency></iframe>
            <p style="font-size: small;color: darkred">Fin</p>

            <p>Version Tarteaucitron.io Calaméo library (Pas d'affichage)</p>
            <p style="font-size: small;color: darkred">Début</p>
            <div class="calameolibrary-canvas" data-id="7270896" width="60%" height="240"></div>
            <p style="font-size: small;color: darkred">Fin</p>

            <p>Version Tarteaucitron.io Calaméo classique (OK)</p>
            <p style="font-size: small;color: darkred">Début</p>
            <div style="display: flex;flex-wrap: wrap;justify-content:center">
                <div class="calameo-canvas" data-id="0072708960f21f64da085" width="auto" height="250"></div>
                <div class="calameo-canvas" data-id="007270896b42fa781ccc8" width="auto" height="250"></div>
                <div class="calameo-canvas" data-id="007270896e9e389ff296d" width="auto" height="250"></div>
            </div>
            <p style="font-size: small;color: darkred">Fin</p>`

Voici le rendu front : image

De plus, pour tes 2 classes "calameolibrary-canvas" et "calameo-canvas", il serait bien que nous puissions mettre le background-color de notre choix :)

AmauriC commented 1 month ago

Merci, je regarde tout ça rapidement.

stale[bot] commented 3 weeks ago

This issue has been automatically marked as inactive because it has not had activity for 20 days. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

GroupeMO commented 2 weeks ago

Bonjour @AmauriC as-tu pu voir pour faire l'update du code pour Calaméo Library ?