Aller au contenu
View in the app

A better way to browse. Learn more.

Forum Camel Design

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Intégrer son live twitch sur son site internet

Posté(e)

Pour pouvoir intégrer votre live Twitch sur votre site internet et ainsi présenter le contenu de votre stream à vos followers sur votre communauté, copier coller le code ci-dessous :

 

<div id="twitch-embed"></div>
    <script src="https://embed.twitch.tv/embed/v1.js"></script>
    <script type="text/javascript">
      new Twitch.Embed("twitch-embed", {
        width: "100%",
        height: 600,
        channel: "ID de la chaine",
        theme: "dark",
      });
    </script>

 

Paramètres du code d’intégration twitch :

 

- Channel : renseigné l’ID de votre chaîne twitch, l’id est la fin de l’url de votre chaîne, exemple avec ma chaîne :  https://www.twitch.tv/cameldesigntv/ , l’id est donc : "cameldesigntv".

- Theme : couleur du theme => « dark » ou « light »

- width : la largeur de l’embed et peut être exprimée en

- pixel : width: 1200 (en pixel) ou en pourcentage : width : « 100% »,

- height : la hauteur de l’embed en pixel

 

Le code est responsive et a une certaine taille pour les mobiles, le chat passe en dessous du lecteur vidéo (voir capture ci-dessous)

 

 

twitch-integrer-bureau-camel-design.jpg

twitch-integrer-mobile-camel-design.jpg

Cordialement
Camel Design

Webdesigner chez : camel-design

Featured Replies

No posts to show

Créer un compte ou se connecter pour commenter

Account

Navigation

Rechercher

Rechercher

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.