Closed (fixed)
Project:
NodeStream
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2013 at 08:40 UTC
Updated:
31 Jan 2013 at 10:10 UTC
When using ns_core version 2.0-rc1 youtube video doesn't work out of the box anymore.
When trying to add a youtube url I get the error "http://www.youtube.com/watch?v=pzNT7sBqRK0 could not be added. Only the following types of files are allowed to be uploaded: audio, default, image, video"
The issue can be read about here: http://drupal.org/node/1812976
I added hook_file_mimetype_mapping_alter() to allow video/youtube as in http://drupal.org/files/1812976-register_youtube_mimetype-13.patch and added the youtube mimetype as allowed in admin/structure/file-types/manage/video and checked the youtube box under allowed streams to make youtube streaming work again.
Comments
Comment #1
fabsor commentedThis should definitely be fixed over at #1812976: Register video/youtube mimetype and provide an upgrade path. I will look into it.
Comment #2
fabsor commentedI didn't want to upgrade to media_youtube 2.x since it could potentially break sites, but since things like this can happen, I think it makes sense to make the jump.
Comment #3
fabsor commentedI fixed this by upgrading to media youtube 2.x.
http://drupal.org/commitlog/commit/15570/e90a75ff0cb20b7f01cc78ab29c71ca...