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

fabsor’s picture

This should definitely be fixed over at #1812976: Register video/youtube mimetype and provide an upgrade path. I will look into it.

fabsor’s picture

I 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.

fabsor’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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