Connexion
S'inscrire
Actualités
Quoi de neuf
Activités générales
Auteurs
Forums
Nouveaux messages
Rechercher un forum
Wiki
Pages
Dernière activité
Quoi de neuf
Nouveaux messages
Nouveaux articles
Nouveaux messages de profil
Activités générales
Membres
Membres inscrits
Visiteurs actuels
Nouveaux messages de profil
Rechercher dans les messages des profils
Teams
Créé ton équipe
Magasin
Quoi de neuf ?
Nouveaux messages
Rechercher un forum
Menu
Connexion
S'inscrire
Install the app
Install
Forums
Forums généraux
Informatique
Ajouter une vidéo ou une playlist de votre choix sur RealityGaming, directement dans la sidebar.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Vous utilisez un navigateur non à jour ou ancien. Il ne peut pas afficher ce site ou d'autres sites correctement.
Vous devez le mettre à jour ou utiliser un
navigateur alternatif
.
Répondre à la discussion
Message
<blockquote data-quote="Rivals" data-source="post: 3853859" data-attributes="member: 694298"><p>Bonjour à tous, dans ce tutoriel nous allons apprendre à <span style="color: #b35900"><strong>créer un script</strong></span> qui vous permettra d'ajouter <span style="color: #b35900"><strong>une vidéo</strong></span> ou <span style="color: #b35900"><strong>une playlist</strong></span> de votre choix <strong><span style="color: #ff8000">directement</span></strong> sur RealityGaming dans la <em>sidebar</em> très simplement.<span style="color: #ff8000"> <span style="color: #000000"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite355" alt=":)" title=":) :)" loading="lazy" data-shortname=":)" /></span></span></p><p></p><p style="text-align: center"><em>[ATTACH=full]30642[/ATTACH] </em></p> <p style="text-align: center"><em></em></p> <p style="text-align: center"><em>↑ </em>Résultat de ce tutoriel <em>↑</em></p> <p style="text-align: center"></p> <p style="text-align: center"></p> <p style="text-align: center">[ATTACH=full]30645[/ATTACH]</p> <p style="text-align: center"><span style="color: #ff8000"><strong>CHOIX DE LA VIDÉO OU PLAYLIST</strong></span></p> <p style="text-align: center"></p><p><span style="color: #000000">Il vous faudra choisir une vidéo ou une playlist, de préférence sur YouTube. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite355" alt=":)" title=":) :)" loading="lazy" data-shortname=":)" /></span></p><ol> <li data-xf-list-type="ol"><span style="color: #000000">Une fois le choix fait, rendez-vous sur la page de la vidéo ou de la playlist.</span></li> <li data-xf-list-type="ol"><span style="color: #000000">Puis trouvez l'option de <strong>partage</strong> pour pouvoir <strong>intégrer</strong> votre vidéo ou playlist.</span></li> </ol> <p style="text-align: center">[ATTACH=full]30646[/ATTACH]</p><p><span style="color: #000000"> </span></p><p><span style="color: #000000"> 3.</span> Puis cliquez sur l'onglet "Intégrer", en choisissant une taille personnalisée de <span style="color: #ff8000"><strong>230 </strong></span>x <span style="color: #ff8000"><strong>129</strong></span>.</p><p><strong> </strong></p><p>Vous devriez vous retrouver avec <u>un code comme celui-ci</u> :</p><p></p><p>[CODE]<iframe width="230" height="129" src="//www.youtube.com/embed/videoseries?list=PLAByrhYIgKWo3-Vml1oXhlHtTyxEGp_uq" frameborder="0" allowfullscreen></iframe>[/CODE]</p><p></p><p> 4. Modifiez ce code <span style="color: #ff8000"><strong>manuellement </strong></span>pour vous retrouver avec une hauteur (height) de <span style="color: #ff8000"><strong>250</strong></span>. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite351" alt=";)" title="Clin d'oeil ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>[CODE]<iframe width="230" height="250" src="//www.youtube.com/embed/videoseries?list=PLAByrhYIgKWo3-Vml1oXhlHtTyxEGp_uq" frameborder="0" allowfullscreen></iframe>[/CODE]</p><p></p><p> 5.<span style="color: #ff8000"><strong> Conservez </strong></span>ce code dans un fichier .txt ou dans une note.</p><p></p><p style="text-align: center"></p> <p style="text-align: center"> [ATTACH=full]30647[/ATTACH]</p> <p style="text-align: center"></p> <p style="text-align: center"><span style="color: #ff8000"><strong>CRÉATION DU SCRIPT</strong></span></p><p></p><p>Rien de plus simple, il vous suffira simplement de posséder <a href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=fr" target="_blank"><span style="color: #b35900"><strong>TamperMonkey</strong></span></a> (Google Chrome) ou <a href="https://addons.mozilla.org/fr/firefox/addon/greasemonkey/" target="_blank"><span style="color: #b35900"><strong>GreaseMonkey</strong></span></a> (Firefox) mais également d'une faible connaissance en <span style="color: #ff8000"><strong>HTML</strong></span>.<strong> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite363" alt=":smile:" title="Smile :smile:" loading="lazy" data-shortname=":smile:" /></strong></p><p><strong></strong></p><ol> <li data-xf-list-type="ol">Créez un nouveau script sur l'extension qui est adaptée à votre navigateur.</li> </ol><p>[tabs]</p><p>[tab=TamperMonkey]</p><ol> <li data-xf-list-type="ol">Rendez-vous sur votre <span style="color: #ff8000"><strong>Dashboard</strong></span>.</li> <li data-xf-list-type="ol">Cliquez sur la petite icône qui présente un "<span style="color: #ff8000"><strong>+</strong></span>".</li> <li data-xf-list-type="ol">Ajoutez le code ci-dessous :</li> </ol><p>[CODE]// ==UserScript==</p><p>// @name Vidéo ou playlist RealityGaming</p><p>// @namespace Vidéo, RG, Playlist</p><p>// @description Ajout d'une playlist ou vidéo directement sur RealityGaming.</p><p>// @include http://reality-gaming.fr/*</p><p>// @include https://reality-gaming.fr/*</p><p>// @version 1</p><p>// @grant none</p><p>// ==/UserScript==[/CODE][/tab]</p><p>[tab=GreaseMonkey]</p><ol> <li data-xf-list-type="ol">Cliquez sur l'icône <strong><span style="color: #b35900">GreaseMonkey</span></strong>.</li> <li data-xf-list-type="ol">Puis sur "<span style="color: #ff8000">Nouveau script...</span><span style="color: #000000">".</span></li> <li data-xf-list-type="ol">Nom : "Vidéo ou playlist RealityGaming", Espace de nom : "Vidéo, RG, Playlist", Description : "Ajout d'une playlist ou vidéo directement sur RealityGaming.<strong>", </strong>Inclus : "<a href="http://reality-gaming.fr/*" target="_blank">http://reality-gaming.fr/*</a>" ; "<a href="https://reality-gaming.fr/*" target="_blank">https://reality-gaming.fr/*</a>".</li> </ol><p>[/tab]</p><p>[/tabs]</p><p></p><p> 4. Une fois ceci fait, ajoutez le code que vous avez conservé à la place de "<span style="color: #ff8000"><strong>CODE A METTRE</strong></span>".</p><p>[CODE]$(".visitorPanel").after('<div class="secondaryContent" style="border: 1px solid rgb(106, 155, 179); border: 1px solid rgba(106, 155, 179, 0.5); height: 275px;"><div class="h3" style="font-size: 13pt; font-family: Open sans condensed; color: rgb(252, 252, 255); background: rgb(47, 120, 160); repeat-x bottom; background: rgba(47,120,160,1) repeat-x bottom;padding: 4px 7px; margin: -10px -10px 5px; border-bottom: 1px solid #d7edfc; text-shadow: 1px 1px rgba(0,0,0,0.4);"><i class="fa fa-music"></i> Playlist</div><center>CODE A METTRE</center></div>');; // UI [/CODE]</p><p> 5. Vous devriez avoir <span style="color: #ff8000"><strong>ce code</strong></span> :</p><p>[CODE]</p><p>// ==UserScript==</p><p>// @name Vidéo ou playlist RealityGaming</p><p>// @namespace Vidéo, RG, Playlist</p><p>// @description Ajout d'une playlist ou vidéo directement sur RealityGaming.</p><p>// @include http://reality-gaming.fr/*</p><p>// @include https://reality-gaming.fr/*</p><p>// @version 1</p><p>// @grant none</p><p>// ==/UserScript==</p><p></p><p>$(".visitorPanel").after('<div class="secondaryContent" style="border: 1px solid rgb(106, 155, 179); border: 1px solid rgba(106, 155, 179, 0.5); height: 275px;"><div class="h3" style="font-size: 13pt; font-family: Open sans condensed; color: rgb(252, 252, 255); background: rgb(47, 120, 160); repeat-x bottom; background: rgba(47,120,160,1) repeat-x bottom;padding: 4px 7px; margin: -10px -10px 5px; border-bottom: 1px solid #d7edfc; text-shadow: 1px 1px rgba(0,0,0,0.4);"><i class="fa fa-music"></i> Playlist</div><center><iframe width="230" height="250" border-radius: 3px; src="//www.youtube.com/embed/videoseries?list=PLAByrhYIgKWo3-Vml1oXhlHtTyxEGp_uq" frameborder="0" allowfullscreen></iframe></center></div>');; // UI</p><p></p><p>[/CODE]</p><p></p><p> 6. <span style="color: #ff8000"><strong>Sauvegardez </strong></span>et <span style="color: #ff8000"><strong>appréciez</strong></span> le résultat. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite348" alt=":cool:" title="Cool :cool:" loading="lazy" data-shortname=":cool:" /></p><p></p><p><em>Rivals</em></p></blockquote><p></p>
[QUOTE="Rivals, post: 3853859, member: 694298"] Bonjour à tous, dans ce tutoriel nous allons apprendre à [COLOR=#b35900][B]créer un script[/B][/COLOR] qui vous permettra d'ajouter [COLOR=#b35900][B]une vidéo[/B][/COLOR] ou [COLOR=#b35900][B]une playlist[/B][/COLOR] de votre choix [B][COLOR=#ff8000]directement[/COLOR][/B] sur RealityGaming dans la [I]sidebar[/I] très simplement.[COLOR=#ff8000] [COLOR=#000000]:)[/COLOR][/COLOR] [CENTER][I][ATTACH=full]30642[/ATTACH] ↑ [/I]Résultat de ce tutoriel [I]↑[/I] [ATTACH=full]30645[/ATTACH] [COLOR=#ff8000][B]CHOIX DE LA VIDÉO OU PLAYLIST[/B][/COLOR] [/CENTER] [COLOR=#000000]Il vous faudra choisir une vidéo ou une playlist, de préférence sur YouTube. :)[/COLOR] [LIST=1] [*][COLOR=#000000]Une fois le choix fait, rendez-vous sur la page de la vidéo ou de la playlist.[/COLOR] [*][COLOR=#000000]Puis trouvez l'option de [B]partage[/B] pour pouvoir [B]intégrer[/B] votre vidéo ou playlist.[/COLOR] [/LIST] [CENTER][ATTACH=full]30646[/ATTACH][/CENTER] [COLOR=#000000] 3.[/COLOR] Puis cliquez sur l'onglet "Intégrer", en choisissant une taille personnalisée de [COLOR=#ff8000][B]230 [/B][/COLOR]x [COLOR=#ff8000][B]129[/B][/COLOR]. [B] [/B] Vous devriez vous retrouver avec [U]un code comme celui-ci[/U] : [CODE]<iframe width="230" height="129" src="//www.youtube.com/embed/videoseries?list=PLAByrhYIgKWo3-Vml1oXhlHtTyxEGp_uq" frameborder="0" allowfullscreen></iframe>[/CODE] 4. Modifiez ce code [COLOR=#ff8000][B]manuellement [/B][/COLOR]pour vous retrouver avec une hauteur (height) de [COLOR=#ff8000][B]250[/B][/COLOR]. ;) [CODE]<iframe width="230" height="250" src="//www.youtube.com/embed/videoseries?list=PLAByrhYIgKWo3-Vml1oXhlHtTyxEGp_uq" frameborder="0" allowfullscreen></iframe>[/CODE] 5.[COLOR=#ff8000][B] Conservez [/B][/COLOR]ce code dans un fichier .txt ou dans une note. [CENTER] [ATTACH=full]30647[/ATTACH] [COLOR=#ff8000][B]CRÉATION DU SCRIPT[/B][/COLOR][/CENTER] Rien de plus simple, il vous suffira simplement de posséder [URL='https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=fr'][COLOR=#b35900][B]TamperMonkey[/B][/COLOR][/URL] (Google Chrome) ou [URL='https://addons.mozilla.org/fr/firefox/addon/greasemonkey/'][COLOR=#b35900][B]GreaseMonkey[/B][/COLOR][/URL] (Firefox) mais également d'une faible connaissance en [COLOR=#ff8000][B]HTML[/B][/COLOR].[B] :smile: [/B] [LIST=1] [*]Créez un nouveau script sur l'extension qui est adaptée à votre navigateur. [/LIST] [tabs] [tab=TamperMonkey] [LIST=1] [*]Rendez-vous sur votre [COLOR=#ff8000][B]Dashboard[/B][/COLOR]. [*]Cliquez sur la petite icône qui présente un "[COLOR=#ff8000][B]+[/B][/COLOR]". [*]Ajoutez le code ci-dessous : [/LIST] [CODE]// ==UserScript== // @name Vidéo ou playlist RealityGaming // @namespace Vidéo, RG, Playlist // @description Ajout d'une playlist ou vidéo directement sur RealityGaming. // @include http://reality-gaming.fr/* // @include https://reality-gaming.fr/* // @version 1 // @grant none // ==/UserScript==[/CODE][/tab] [tab=GreaseMonkey] [LIST=1] [*]Cliquez sur l'icône [B][COLOR=#b35900]GreaseMonkey[/COLOR][/B]. [*]Puis sur "[COLOR=#ff8000]Nouveau script...[/COLOR][COLOR=#000000]".[/COLOR] [*]Nom : "Vidéo ou playlist RealityGaming", Espace de nom : "Vidéo, RG, Playlist", Description : "Ajout d'une playlist ou vidéo directement sur RealityGaming.[B]", [/B]Inclus : "[URL]http://reality-gaming.fr/*[/URL]" ; "[URL]https://reality-gaming.fr/*[/URL]". [/LIST] [/tab] [/tabs] 4. Une fois ceci fait, ajoutez le code que vous avez conservé à la place de "[COLOR=#ff8000][B]CODE A METTRE[/B][/COLOR]". [CODE]$(".visitorPanel").after('<div class="secondaryContent" style="border: 1px solid rgb(106, 155, 179); border: 1px solid rgba(106, 155, 179, 0.5); height: 275px;"><div class="h3" style="font-size: 13pt; font-family: Open sans condensed; color: rgb(252, 252, 255); background: rgb(47, 120, 160); repeat-x bottom; background: rgba(47,120,160,1) repeat-x bottom;padding: 4px 7px; margin: -10px -10px 5px; border-bottom: 1px solid #d7edfc; text-shadow: 1px 1px rgba(0,0,0,0.4);"><i class="fa fa-music"></i> Playlist</div><center>CODE A METTRE</center></div>');; // UI [/CODE] 5. Vous devriez avoir [COLOR=#ff8000][B]ce code[/B][/COLOR] : [CODE] // ==UserScript== // @name Vidéo ou playlist RealityGaming // @namespace Vidéo, RG, Playlist // @description Ajout d'une playlist ou vidéo directement sur RealityGaming. // @include http://reality-gaming.fr/* // @include https://reality-gaming.fr/* // @version 1 // @grant none // ==/UserScript== $(".visitorPanel").after('<div class="secondaryContent" style="border: 1px solid rgb(106, 155, 179); border: 1px solid rgba(106, 155, 179, 0.5); height: 275px;"><div class="h3" style="font-size: 13pt; font-family: Open sans condensed; color: rgb(252, 252, 255); background: rgb(47, 120, 160); repeat-x bottom; background: rgba(47,120,160,1) repeat-x bottom;padding: 4px 7px; margin: -10px -10px 5px; border-bottom: 1px solid #d7edfc; text-shadow: 1px 1px rgba(0,0,0,0.4);"><i class="fa fa-music"></i> Playlist</div><center><iframe width="230" height="250" border-radius: 3px; src="//www.youtube.com/embed/videoseries?list=PLAByrhYIgKWo3-Vml1oXhlHtTyxEGp_uq" frameborder="0" allowfullscreen></iframe></center></div>');; // UI [/CODE] 6. [COLOR=#ff8000][B]Sauvegardez [/B][/COLOR]et [COLOR=#ff8000][B]appréciez[/B][/COLOR] le résultat. :cool: [I]Rivals[/I] [/QUOTE]
Insérer les citations…
Vérification
Publier la réponse
Forums
Forums généraux
Informatique
Ajouter une vidéo ou une playlist de votre choix sur RealityGaming, directement dans la sidebar.
Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies.
Acceptez
En savoir plus.…
Haut