Closed (fixed)
Project:
Media: YouTube
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
21 Mar 2013 at 20:54 UTC
Updated:
5 Apr 2013 at 14:40 UTC
Now that #1911970: The audio, image, and video file types should default to a wildcard mimetype selector has been committed which defaults the video file type to include all video/* mimetypes, the problematic code in media_youtube_update_7202() should be wiped out so that it does nothing. This update hook should have been an indication at a problem in the configurable file types which has now been fixed.
Comments
Comment #1
dave reidmedia_youtube_file_default_types_alter() also needs to be removed
Comment #2
dave reidFixed with http://drupalcode.org/project/media_youtube.git/commit/93c7a60
Comment #3
gmclelland commentedWould we need to do the same thing for media_vimeo?
Comment #4
dave reidCorrect, you'd want to remove that function as well. But not the media_vimeo_file_mimetype_mapping_alter() function.
Comment #5
gmclelland commentedHere is the same issue for media_vimeo with a similar patch posted #1950188: Remove media_vimeo_update_7200() and media_vimeo_file_default_types_alter()