Hey,

I've got this message on the page containing media file :
Call to undefined method DrupalPublicStreamWrapper::getLocalThumbnailPath() in imageorvideo_formatter\imageorvideo_formatter.module on line 93

I don't know if it's a bug form the module or if I didn't configure things correctly.

Thank you for supporting.

Comments

chriscohen’s picture

Status: Needs work » Active

Hmm, odd. It looks like it could be related to #1233030 from the Media YouTube module. Could you have a look at the suggestions for fixes on that issue and see if the same might apply to you?

chriscohen’s picture

This was a double post (thanks drupal.org!).

jofdesign’s picture

Hi,
I look at the suggestions but found nothing. I checked permissions are ok and I don't use Styles Module.
Another idea ?

wcammeraat’s picture

Is there already a solution for this problem?

chriscohen’s picture

Status: Active » Closed (won't fix)

If you use the latest version of the base modules here, they've actually introduced a field formatter that can provide the same functionality that this module provides! As a result, we're no longer going to be supporting this module.

berramou’s picture

Issue summary: View changes

Hello,
I still have this problem with drupal version 7.56 and Media YouTube version 7.x-3.6 .
The video experience_8d.mp4 downloaded from youtube and uploaded to server.

// Exemple $uri = 'public://slider/videos/experience_8d.mp4'
 $v_wrapper = file_stream_wrapper_get_instance_by_uri($uri);
 $video_thumbnail = $v_wrapper->getLocalPath();

any help please.

berramou’s picture

Status: Closed (won't fix) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.