Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Media Internet
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2012 at 10:55 UTC
Updated:
2 Nov 2015 at 13:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rootworkAgreed, this is confusing. It seems like the current functionality is keyed off of a file upload (although the field type, while categorized under file, is helpfully described as a "media file selector" rather than a "media file upload," which I appreciate!).
The current setup means:
I guess the field was built to allow people to upload videos and choose videos from the web, which is great flexibility! But it would also be nice to have the flexibility of restricting the field to web videos alone.
Comment #2
rootworkSorry, I realized this is really a core Media module issue. I'm moving it over to that queue.
Comment #3
psychobyte commentedAnyone know of a quick work around to this issue?
Comment #4
psychobyte commentedNVM. with media-2.x you can select what plugins you want to allow.
Comment #5
sumitmadan commentedI want same functionality but I want to hide web tab if I don't select youtube option. Any progress????
Comment #6
J_Andres commentedFriends, some solution for this?
thanks,
Comment #7
inversed commentedI'm not sure how this is handled in Media 2 (per this issue) but there is a solution to hide the Upload tab that is working in my Media 1 implementation. It may be adaptable to the other tabs. You can see it here: https://drupal.org/node/1281486
Comment #8
jhedstromI have a use case that cannot be resolved by hiding the upload tab: we need the WYSIWYG media browser to allow *image* and *document* uploads, but only allow videos from the *web* tab (disallowing direct video upload, but allowing youtube/vimeo). With the latest media 2, there doesn't appear to be any way to configure allowed extensions independent of allowed types

Comment #9
jhedstromI was able to hack around the issue using a form alter to remove video types from the upload tab, yet still allow web uploads:
Comment #10
dave reidAs per the screenshot in #8 we added the ability to hide certain media browser tabs, which I think fulfills the original requirement. We can't really handle the advanced logic requested in #8, so custom validation is definitely the way to go (as said in #9).
Comment #12
jaykainthola commentedHi,
I am also facing same issue. Have anyone found the solution for same?
Thanks