Video preview image quality
-
This is a follow up to an earlier thread https://wordpress.org/support/topic/video-preview-image-quality/
I’m using this code to set max image resolution of preview image
add_filter( 'rocket_lazyload_youtube_thumbnail_resolution', function( $thumbnail_resolution ) { return maxresdefault; } );It’s working but I see warnings in my error log:
PHP Warning: Use of undefined constant maxresdefault - assumed 'maxresdefault' (this will throw an Error in a future version of PHP)How can I fix that and get future ready?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Video preview image quality’ is closed to new replies.