Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (55)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (10358)

  • How to run .mp4 videos on firefox

    19 novembre 2015, par Haseeb Ahmad

    When play mp4 videos on chrome it works fine.But same videos not playing on firefox. After some search I found this

    Firefox does not support .mp4 playback. Try conveting the video to .ogg format which is fast becoming a standard format for html 5 applications.

    Now how I convert this to ogg for firefox.
    My model code is

    has_attached_file :videod, :styles => {
     :medium => { :geometry => "640x480", :format => 'mp4' },
     :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 }
    }, :processors => [:ffmpeg]
    validates_attachment_size :videod, :less_than => 100.megabytes
       validates_attachment_presence :videod
       validates_attachment_content_type :videod, :content_type => /\Avideo\/.*\Z/
  • Cocaine::CommandNotFoundError

    19 novembre 2015, par Haseeb Ahmad

    Using paperclip-ffmpeg for video uploading.

    WhenI upload it gives an error

    Cocaine::CommandNotFoundError (Cocaine::CommandNotFoundError):
    app/controllers/ads_controller.rb:27:in `create

    Cannot render console with content type multipart/form-dataAllowed content types: [#, #, #]

    My model is

    has_attached_file :videod, :styles => {
     :medium => { :geometry => "640x480", :format => 'flv' },
     :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 }
    }, :processors => [:ffmpeg]
    validates_attachment_size :videod, :less_than => 100.megabytes
       validates_attachment_presence :videod
        validates_attachment_content_type :videod, :content_type => /\Avideo\/.*\Z/

    Gemfile

    gem "cocaine"
    gem 'paperclip-ffmpeg'
  • RoutingError No route matches GET videos/original/missing.png

    4 novembre 2015, par D.Graves

    Okay so Im having an issue uploading videos using paperclip av transcoder. Im getting just a blank black image for my video and cant play anything. So no error pops up online but on my GitBash I see an ActionController Routing Error.

    This is the Error I see in my Gitbash

    My model that has the video :

    class Pin < ActiveRecord::Base
    belongs_to :user
    has_attached_file :video, :styles => {
    :medium => { :geometry => "640x480", :format => 'mp4' },
    :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 }
    }, :processors => [:transcoder]

    validates_attachment_content_type :video, :content_type => ["video/mp4",     "video.mov", "video/mpeg","video/mpeg4", "image/jpg", "image/jpeg"]

    end

    My show view for the video :

    <%= video_tag @pin.video.url %>

    <p>
    <strong>Description:</strong>
    &lt;%= @pin.description %>
    </p>

    &lt;% if @pin.user == current_user %>
    &lt;%= link_to 'Edit', edit_pin_path(@pin) %>
    &lt;% end %>
    &lt;%= link_to 'Back', pins_path %>

    I believe I installed ffmpeg correct and here is what it shows on my Gitbash for my version of ffmpeg

    enter image description here

    I also have the newest version of paperclip and paperclip av transcoder installed. Am I just missing a route ? If you all need any other code to maybe help just let me know and ill post it