All I want to do is allow a user to provide a link to the youtube or vimeo videos, like emfield used to allow. I do not want users to be able to upload videos or interact with the Media media manager.

How can I set this up?

In permissions I have 'add media from remote services' checked, but not edit media. This configuration makes the field disappear until I enable the 'edit media' permission, which then brings up the upload box, which, again, I am trying to avoid.

Thanks!

Blue

Comments

ColdSun’s picture

I am actually curious about this as well. There is a version of emfield for D7, I have yet to check it though. Would love if there was more modular control of which tabs show for which content types though on the media module.

Gastonia’s picture

the emfield for D7, when installed, is just a module that migrates old D6 settings to the new D7 Media module. Not only can I not figure how to get this to work using Media and related modules for D7, but, I can't get any videos to show up in my node, even if I upload them.

However, I did create a workaround solution. I created a new field of long text format, and I created a new filtered text type that allowed only iframe. You could add object to this as well, or whatever tags you need for embedding media.

This has temporarily met my needs, but is not as secure as I would like for untrusted users. Would like to know how to get the Media module to work correctly and as desired.

Hope that helps,
Blue

ar-jan’s picture

This should be addressed with the 2.x series of Media (related: #1227706: Add a file entity access API, #992978: Add 'View media browser library' permissions), but I'd also be very interested in options that are available now.

There is media_embedded, which works with a text field that is parsed into a Media field.

There's also oEmbed.

But it seems there aren't yet any out-of-the-box solutions that offer the possibilities of emfield.

Anonymous’s picture

Status: Active » Closed (works as designed)

This tutorial walks you through it. But as the author notes, things are changing rapidly with the Media module. For example, I don't think you need the emfield module anymore.

http://www.ostraining.com/blog/drupal/media-field/