Comments (4)
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.
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.
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.
Given the last comment, I'm closing the issue.
from cloudinary_wordpress.
Related Issues (20)
- Can't add an image from Cloudinary to the Image Block HOT 3
- Local URL for media instead of Cloudinary URL in rest api HOT 18
- PHP 8.1 support HOT 4
- Proper image urls don't come through WPGraphQL HOT 7
- Cloudinary URL no returned for background url in css HOT 1
- Cloudinary URLs for WPGraphQL Yoast SEO Addon HOT 4
- Calling wp_calculate_image_srcset in a multisite environment returns the wrong srcset HOT 5
- Bug Report: Cloudinary Version 3.0.2 - cloudinary.openMediaLibrary is not a function HOT 5
- Cloudinary v3.0.4 incompatible with Elementor plugin when saving Chinese text HOT 2
- PHPCompatibiltyWP missing from PHPCS config file HOT 4
- Getting a crash (HTTP ERROR 500) when trying to edit page with WP Bakery and Cloudinary plugin activated HOT 2
- Using cloudinary_wordpress with polylang plugin causes error in the site Editor HOT 3
- Cloudinary urls replaced everywhere in the admin but not when accessing acf fields directly HOT 2
- Old URL used when uploading media from the WordPress APP via the block editor HOT 3
- This is failing and returning notice error HOT 4
- clean_url method no longer exists in Delivery class HOT 4
- Unable to install plugin - class Cloudinary\Utils does not have a method "install" HOT 4
- Responsive mode breakpoints are not the same for landscape and portrait images HOT 5
- 500 error when saving page HOT 5
- Cloudinary Process killed by long process killer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudinary_wordpress.