Coder Social home page Coder Social logo

Comments (4)

idobarnoam avatar idobarnoam commented on August 16, 2024

Hi @dafitime

When applying f_mp4 to a resource it would mean that the resource would be transcoded to an mp4.

On images its not possible to do that, which means its an incorrect terraformation, which is why you are getting this error message when applying that global transformation to images.

Note that the plugin has a "video settings" tab which allows global transformation for videos (and audio resources). Applying f_mp4 as a global transformation there would work.

Let me know if that makes sense.

from cloudinary_wordpress.

dafitime avatar dafitime commented on August 16, 2024

The global transformation for images as far as I know, would inject between the url links via wp_add_inline_script. I'm still learning php coding, but I do see on the plugin that it will append the Cloudinary Transformation in the global transformation box.

https://res.cloudinary.com/dievmtuck/image/upload/v1590214137/tenor-1.gif
which is the example gif.
However, adding f_mp4 would result in the video transformation without changing the extension.
'https://res.cloudinary.com/dievmtuck/image/upload/f_mp4/v1590214137/tenor-1.gif'

I was looking into writing the code to inject /f_mp4/ for all of my dynamic links, but it's a bit beyond my coding capabilities atm.

from cloudinary_wordpress.

shirlymanor avatar shirlymanor commented on August 16, 2024

It's an issue on our end, when using a gif it's unique because it uploaded as an image but can use as a video (when adding f_mp4) and in WordPress, we are serving it in an image tag. which generated an error.

from cloudinary_wordpress.

pereirinha avatar pereirinha commented on August 16, 2024

Given the last comment, I'm closing the issue.

from cloudinary_wordpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.