Recherche avancée

Médias (91)

Autres articles (72)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (7899)

  • How do I make my discord.py bot play mp3 in voice channel ?

    17 décembre 2020, par ropke

    I'm a beginner in Python and I have recently started making a discord bot for some friends and I. The idea is to type !startq and have the bot join the channel, play an mp3 file that is locally stored in the same folder that the bot.py is in also.

    &#xA;&#xA;

    import discord, chalk&#xA;from discord.ext import commands&#xA;import time&#xA;import asyncio&#xA;&#xA;bot = commands.Bot(command_prefix = "!")&#xA;&#xA;@bot.event&#xA;async def on_ready():&#xA;    print("Bot is ready!")&#xA;&#xA;@bot.command()&#xA;async def q5(ctx):&#xA;    await ctx.send("@here QUEUE STARTING IN 5 MINUTES")&#xA;&#xA;@bot.command()&#xA;async def q3(ctx):&#xA;    await ctx.send("@here QUEUE STARTING IN 3 MINUTES")&#xA;&#xA;@bot.command()&#xA;async def q1(ctx):&#xA;    await ctx.send("@here QUEUE STARTING IN 1 MINUTES")&#xA;&#xA;@bot.command()&#xA;async def ping(ctx):&#xA;    ping_ = bot.latency&#xA;    ping =  round(ping_ * 1000)&#xA;    await ctx.send(f"my ping is {ping}ms")&#xA;&#xA;@bot.command()&#xA;async def startq(ctx):&#xA;    voicechannel = discord.utils.get(ctx.guild.channels, name=&#x27;queue&#x27;)&#xA;    vc = await voicechannel.connect()&#xA;    vc.play(discord.FFmpegPCMAudio("countdown.mp3"), after=lambda e: print(&#x27;done&#x27;, e))&#xA;    bot.run(&#x27;TOKEN&#x27;)&#xA;

    &#xA;&#xA;

    So far my bot joins the channel fine, but it doesn't actually play the mp3. I've asked countless people in the "Unofficial Discord API Discord" and a few other programming Discords, but I haven't gotten an answer yet.

    &#xA;

  • Is it possible to play two videos as one like this ? [on hold]

    25 février 2015, par Marko

    Is it possible to show/play video online that’s made of two or more video files ? Here’s explanation.

    My site is hosted on Linux/Appache/PHP server. I have video files in FLV/F4V format.

    What I want is to have online video player that plays video composed of multiple video files concatenated together in real-time, i.e. when user clicks to see a video.

    Resulting video looks like one video, with no visual clues, lags or any delay between videos parts. Basically what is done is some form of on-the-fly editing or pre-editing, and user sees the result.

    Is this possible anyhow with flash, actionscript, ffmpeg, php, html or some other online technology ? I don’t need explanation how it’s possible, but just a nod that it’s possible and some links to further investigate.

  • play video using ffplay remotely

    3 juin 2014, par Pavan K

    I am able to play videos with ffplay on the terminal of the computer using

    ffplay video.mp4

    But if I ssh into the computer via a different computer and call the command on the ssh terminal I get the following error.

    Could not initialize SDL - Unable to open a console terminal

    How can I invoke the video on the screen remotely ?