Still getting the following error

Warning: filesize(): stat failed for youtube://v/-jubiv7QUco in file_save() (line 573 of /var/www/d7/includes/file.inc).

Cross checking, there is a D7 core patch here #628094: file_save fails for remote streams on filesize(), but I did not see the code is committed to the D7 branch.

Comments

RobW’s picture

Status: Active » Fixed

The linked issue is fixed, and the issue seems to be resolved.

Status: Fixed » Closed (fixed)

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

fizk’s picture

I'm having this problem too.

The problem appears when you use the "Embedded media field" widget instead of "Media file selector".

RobW’s picture

Fizk, if I remember correctly embedded media field is only available with the Media field type. Media field is deprecated, so we probably won't be adding any new code to support it. If you can, you should try migrating all of your media fields to file fields.

fizk’s picture

Status: Closed (fixed) » Active

Rob, Embedded media field is available with the File field type. It's not available when using the Multimedia asset field type.

RobW’s picture

Sorry, I think I conflated two different ideas. Are you referring to the widget provided by http://drupal.org/project/emfield?

fizk’s picture

Yes

giupenni’s picture

Warning persists but the embedded video is displayed.
How can I remove the warning?

I use Embedded Media Field (emfield) + Video Youtube

smd_ksu’s picture

Issue summary: View changes

I'm also getting this error with version 7.x-2.0-rc4, Media 7.x-2.0-alpha4, File entity 7.x-2.0-beta1, and Drupal 7.32.

michaelmallett’s picture

Getting this using media 7.x-2.0-alpha4+37-dev and file entity 7.x-2.0-beta1+29-dev, with media youtube 7.x-2.0-rc5. Drupal 7.35

Youtube videos no longer work with the wysiwyg media embed button. Just get a video play button and when rendered it removes it completely.