Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (43)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8071)

  • gdigrab : Fix hwnd parameter issues

    18 décembre 2023, par Martin Storsjö
    gdigrab : Fix hwnd parameter issues
    

    Converting from an integer to HWND (which is a pointer) requires
    an explicit cast, otherwise Clang errors out like this :

    src/libavdevice/gdigrab.c:280:14 : error : incompatible integer to pointer conversion assigning to 'HWND' (aka 'struct HWND__ *') from 'long' [-Wint-conversion]
    280 | hwnd = strtol(name, &p, 0) ;
    | ^ 

    (With GCC and MSVC, this was a mere warning, but with recent Clang,
    this is an error.)

    After adding a cast, all compilers also warn something like this :

    src/libavdevice/gdigrab.c:280:16 : warning : cast to 'HWND' (aka 'struct HWND__ *') from smaller integer type 'long' [-Wint-to-pointer-cast]
    280 | hwnd = (HWND) strtol(name, &p, 0) ;
    | ^ 

    On Windows, long types are 32 bit, so to get a usable pointer, we
    need to use long long. And interpret it as unsigned long long
    while at it - i.e. using strtoull.

    Finally, right above it, the code triggered the following warning :

    src/libavdevice/gdigrab.c:278:15 : warning : mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
    278 | char *p ;
    | ^

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavdevice/gdigrab.c
  • Rails : MP4 videos showing up blank in Firefox (but works in Chrome)

    10 février 2015, par Mark Boulder

    I got this Rails app with uploaded MP4 videos that play back just fine in Chrome - but why do they show up blank in Firefox ?

    The video appears on the page and plays just fine if I download it :

    <video loop="loop" src="/path/to/whatever.mp4?1234567"></video>

    From Rails I did :

    &lt;%= video_tag photo.attachment_url(:medium) %>

    I tried adding Mime::Type.register "video/mp4", :mp4 to config/initializers/mime_types.rb but to no avail.

    Live app : http://runnable.com/VNkNeJ9wpNZJBEma/paperclip-mp4-problem

    Click Run and navigate to the last post to see the MP4. Note that Runnable is very slow. If it says something bad happened in the terminal, try reloading the page until it disappears.

  • doc : Drop VDPAU from list of supported codecs

    10 septembre 2013, par Diego Biurrun
    doc : Drop VDPAU from list of supported codecs
    
    • [DBH] doc/general.texi