@bebranded/bb-contents 1.0.124 → 1.0.125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bb-contents.js +3 -5
- package/package.json +1 -1
package/bb-contents.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* BeBranded Contents
|
|
3
3
|
* Contenus additionnels français pour Webflow
|
|
4
|
-
* @version 1.0.
|
|
4
|
+
* @version 1.0.125
|
|
5
5
|
* @author BeBranded
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @website https://www.bebranded.xyz
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
window._bbContentsInitialized = true;
|
|
33
33
|
|
|
34
34
|
// Log de démarrage simple (une seule fois)
|
|
35
|
-
console.log('bb-contents | v1.0.
|
|
35
|
+
console.log('bb-contents | v1.0.125');
|
|
36
36
|
|
|
37
37
|
// Configuration
|
|
38
38
|
const config = {
|
|
39
|
-
version: '1.0.
|
|
39
|
+
version: '1.0.125',
|
|
40
40
|
debug: false, // Debug désactivé pour rendu propre
|
|
41
41
|
prefix: 'bb-', // utilisé pour générer les sélecteurs (data-bb-*)
|
|
42
42
|
youtubeEndpoint: null, // URL du worker YouTube (à définir par l'utilisateur)
|
|
@@ -134,7 +134,6 @@
|
|
|
134
134
|
try {
|
|
135
135
|
module.init(scope);
|
|
136
136
|
} catch (error) {
|
|
137
|
-
console.error('[BB Contents] Erreur dans le module', moduleName, error);
|
|
138
137
|
// Continuer avec les autres modules même si un échoue
|
|
139
138
|
}
|
|
140
139
|
}
|
|
@@ -603,7 +602,6 @@
|
|
|
603
602
|
} else if (waitTimeout >= maxWaitTime) {
|
|
604
603
|
// Timeout atteint : forcer le démarrage mais c'est un fallback
|
|
605
604
|
if (bbContents.config.debug) {
|
|
606
|
-
console.warn('[MARQUEE] Timeout atteint, certaines images peuvent ne pas être chargées');
|
|
607
605
|
}
|
|
608
606
|
const renderDelay = isSafari && isMobile ? 1500 : (isMobile ? 1000 : 200);
|
|
609
607
|
setTimeout(() => {
|