Recherche avancée

Médias (91)

Autres articles (88)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (7728)

  • Anomalie #2910 : Erreur 404 après redirection après message forum ds un site avec URLs arbo.

    8 janvier 2013, par Joachim SENE

    intéressant : avec URLs Propres+.html le forum fonctionne mais les URLs sont parfois correctes -Titre-article.html parfois non ?page=article&id_article=17 ce qui fait que malgré ça, dans les 2 cas la redirection après validation du message de forum est ok … mais ce n’est pas satisfaisant du pt de (...)

  • Trouble with Cross-Origin Headers : Stripe and ffmpeg Integration in Next.js

    7 février 2024, par Duke

    I'm using this excellent template from vercel as a base for my project :

    


    https://vercel.com/templates/next.js/subscription-starter


    


    I've used it for many projects and the Stripe integration works flawlessly. However for a new project I needed to incorporate ffmpeg which relies on SharedArrayBuffer :

    


    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer


    


    So I need to set the appropriate HTTP response header which i've set in my next.config.js file as below :

    


          {
        source: '/(.*)',
        headers: [
          {
            key: 'Cross-Origin-Embedder-Policy',
            value: 'credentialless'
            // value: 'require-corp'
          },
          {
            key: 'Cross-Origin-Opener-Policy',
            value: 'same-origin-allow-popups'
          }
        ]
      }


    


    Now the issue is that settings these breaks Stripe. It blocks the request :

    


    https://js.stripe.com/v3/m-outer-3437aaddcdf6922d623e172c2d6f9278.html


    


    Which appearently loads more resources that are needed for the checkout session to function. The customer portal works but checkout doesn't. I've literally tired every possible permutation of headers with different values but in all cases either Stripe works but ffmepg doesn't (cause SharedArrayBuffer doesn't work) or vice versa. It's been a week and I've tired everything and can't find anything online that works. Not even ChatGPT can help which ironcelly asks me to contact Stripe customer support. I would highly appreciate if anyone could even point me in the right direction. I Thank you in advance good Sir/Maam.

    


    Note that Checkout works fine with just :

    


    key: 'Cross-Origin-Opener-Policy',
value: 'same-origin'


    


    Just Cross-Origin-Embedder-Policy breaks it

    


  • Is it feasible to dynamically add specific headers to a single page within an Angular SPA application when served from the server ?

    18 octobre 2024, par gokul m

    I'm concerned that since Angular's routing is handled client-side, this might not be directly possible or is it ?

    


    I attempted to add headers on my local Angular server as follows :

    


    

          "options": {
            "headers": {
              "Cross-Origin-Embedder-Policy": "require-corp",
              "Cross-Origin-Opener-Policy": "same-origin"
            }
          }


    


    This resulted in CORS errors for all app resources loading from different origins. Given that Angular routers operate client-side, I'm exploring options to achieve server-side rendering for a specific single page. I need to apply the above headers to that path both locally and when deploying with Cloudflare.