The Media module is a module for managing files and multimedia assets.

learn more… | top users | synonyms

1
vote
1answer
10 views

Print Media CKeditor images correctly custom code

How can I show an image that I uploaded with de CKeditor Media browser on my page? Now I use this code: case 'black_box_with_image': $black_box_with_image_image = ''; if (!...
0
votes
0answers
11 views

Change default tab for Media browser

Is it possible to change the default tab for Media browser (Media module) in Drupal 7? Currently I have: Upload, Web, Library and My Files. I would like to open Library by default, instead of Upload....
1
vote
0answers
11 views

Add a link to Large Filetype Icon

I'm using the media module for displaying files. I have PDF Preview set up, which falls back to the image formatter, and then Large Filetype Icon. PDF Preview and the Image formatter are set up to ...
1
vote
1answer
17 views

How to change the image style for image preview in node-add/edit form?

IN a related question, "How to set image style for media browser in node edit form?" one response noted that "Once you have chosen the image and clicked save and the overlay is closed, images are ...
1
vote
0answers
9 views

Is there a module to enable showing image feeds for a specific Instagram hashtag for Drupal 8?

I am trying to create a page that displays images and username posted in instagram with a specific hashtag, just like when you search a hashtag through instagram. All modules I found present feed from ...
0
votes
0answers
14 views

HTML5 media element in Drupal 8 form [duplicate]

I'm trying to add a video element to a form like this but nothing is displayed: $form['camera'] = [ '#type' => 'markup', '#markup' => '<video id="camera" autoplay></video>', ]; ...
0
votes
1answer
14 views

Different theme of Media module audio player in Firefox and IE and chrome

I installed Media module, and there is a content type for audio files. The Manage display of the audio field is Audio. But the player has different themes in different browsers. This is what Firefox ...
0
votes
0answers
15 views

Play externally hosted videos on site

I am using statuses module 7.x-1.x-dev and opengraph filter 7.x-1.0-beta1 to generate preview from url in status updates. It is doing it successfully, however, I have tried a lot, but I am unable to ...
3
votes
1answer
18 views

Making File Size visible to anonymous users

I have media installed for file handling, and am displaying download links for my files using display suite. I have the file size being loaded in as a dynamic field loading token [file:size]. ...
0
votes
1answer
50 views

Parse entity_embed module markup

I'm using Drupal 8.1.1 with Acquia's Lightning distribution. I need to be able to embed a media entity (a tweet, instagram post, youtube video, image, etc.) and then captured the resultant HTML output ...
1
vote
0answers
27 views

Add validator and description to file upload form

I want to check the min width of a picture when using the file upload form (file_entity_add_upload). normally I would do function my_module_form_file_entity_add_upload_alter(&$form, &$...
2
votes
3answers
186 views

How to give access to the files of node for individual users?

In my website I have these modules enabled: File Entity (fieldable files), Media, Rules, Entity reference. The default download method is: Private local files served by Drupal. So when userA upload ...
1
vote
0answers
24 views

How is media document entity different from file document entity?

I hope this is the right place for my question as I want to understand media document a bit more. I'm working on a library website. Each book can have one or more files. Each book file should accept ...
0
votes
1answer
17 views

Attaching fields to files

I have a couple of forms where I need to attach metadata fields to files (a description, and a category). The file_entity module alone lets me specify fields, but doesn't change the form fields. ...
1
vote
0answers
56 views

How do I play Vimeo videos using video embed?

The drupalgap video embed field plays youtube videos https://github.com/signalpoint/video_embed_field/blob/7.x-1.x/video_embed_field.js: $.each(items, function(delta, item) { var src = item....
1
vote
1answer
20 views

oEmbed Video Module loading via ajax for faster loading [closed]

Is there a module that lets you load in youtube videos via ajax? Currently I'm using oembed module ( https://www.drupal.org/project/oembed ) and it loads in the video js files which take up 1MB. I'm ...
1
vote
1answer
108 views

How to retrieve image URL from Media Bundle field in Twig Template

I have created a custom media bundle using the Media Entity module. Here is a screen grab of the media bundle: I have created a Twig template media--image.twig.html I am able to retrieve all of ...
1
vote
0answers
20 views

The Media module does not correctly render YouTube videos added with Media: YouTube

Trying to allow the user to embed YouTube videos from the Wysiwyg, CKEditor 3.6, Media: YouTube. This is the module config : Then I try to add a YouTube video by providing the URL link to the ...
1
vote
0answers
17 views

View that displays both Media files and nodes

I have run into a problem where it seems like you can't display Media module Files alongside regular nodes. I have a filter that is set to show content of type Webform. I wanted to be able to have an ...
0
votes
0answers
9 views

How to import Images and YouTube URLs using Feeds Fetcher Directory

How to import Images and YouTube URLs which are defined as an absolute URL in XML using Feeds Fetcher Directory <?xml version="1.0" encoding="UTF-8"?> <Story> <ItemId>9876543210&...
1
vote
1answer
33 views

Fatal error: Call to undefined function media_filter

I've upgraded Media module from 2.0-alpha2+6-dev and 2.0-beta1, however now I've the following error on some random pages: ( ! ) Fatal error: Call to undefined function `media_filter()` in my_module....
0
votes
0answers
35 views

Media module tokens vs. HTML in CKEDitor

I'm going to try my best describe the nightmare this has been, and hope there's a solution. Using the media module, when you add an image, the text inserted looks like this: [[{"fid":"64","view_mode"...
0
votes
0answers
12 views

Schema Mismatch - indexes file_type: missing in database

I did an upgrade from Drupal 6 to Drupal 7 with 4000 nodes. I am using media 7.1.5 The file_managed table did not create the "type" column so I added it. Now in my schema, I get a mismatch indexes ...
0
votes
0answers
20 views

Add existing images from server to create gallery

I want to create gallery based on folder structure on the server. Basically just auto create a node for each folder and add all the images from server in that folder. I also don't want it auto create ...
0
votes
0answers
27 views

oEmbed field type

I've installed the oEmbed module with the ambition to allow my users to embed external content through a dedicated field when creating nodes. However, when I add a new field to one of my content ...
1
vote
0answers
25 views

Ckeditor upload tab missing for admins and authenticated users

I'm running a D7 system where I'm using Ckeditor, Ckeditor media and media. I'm having an issue where within 'image' tab the 'upload' tab is only showing for superuser not for admins or rest of the ...
2
votes
1answer
71 views

How can I track download statistics for private files?

One of the most important metrics for the publications database I'm working on will be file downloads, looked at in various combinations with things like publication type, date published, etc. With ...
1
vote
0answers
31 views

Selenium IDE for testing Drupal 7 with Media and Paragraphs

I'm writing Selenium IDE tests for my Drupal 7 site and it's great. The issue is recording/writing tests for actions that aren't simple "clicks". I have instructions for using the RunScript action to ...
0
votes
1answer
99 views

How can I set per file access controls by role to files on a node

I'm migrating a publications database from an old CMS to drupal 7 using the migrate module. One of the requirements is that some publications (nodes of content type document) will be available to the ...
0
votes
0answers
10 views

FileEntity - Upload with IMCE

is it possible to create new File Entities from existing (already uploaded) Files on the Server, or is there a way to integrate IMCE for the upload? This Issuse is somehow driving me nuts, since we ...
0
votes
1answer
73 views

How can I use Migrate Extras to get custom media fields to migrate?

I'm a bit at the end of my rope in trying to get file fields to show up as possible destinations for my Media module migration. I have Media 7.1.x installed because as best I can tell, that must be ...
0
votes
0answers
23 views

PDOException when Uploading Image

I'm getting a strange error when uploading an image to my site. On upload, I use the Custom EXIF Mappings module to insert various metadata values into fields. This has worked really well for all but ...
0
votes
2answers
42 views

After every cron job, the Media tags in WYSIWYG markup change to https upon a robot crawl

My site doesn't use https certificates. The Media WYSIWYG markup changes the images protocol and caches them as https and therefore they don't display as there is no certificate on the website!! ...
0
votes
0answers
16 views

inline video embeds have stopped working

I have admin access, trying to figure out what is happening on a Drupal 6 site from the admin panel without a lot of knowledge, but hopefully someone can help. I am vaguely familiar with Drupal (...
0
votes
1answer
15 views

Users can import youtube video

In my website project, users can import youtube video via youtube url into their profile. But I've no idea which module can do this. Thanks for your help !
1
vote
2answers
85 views

Warning: Invalid argument supplied for foreach() in taxonomy_field_formatter_view()

My Drupal installation has some warnings, I tried several patches, but none of them works for me. These are the warning messages: Warning: Invalid argument supplied for foreach() in ...
1
vote
3answers
98 views

Multi-media files not showing [closed]

Uploaded multi-media files to: public_html/sites/default/files no error messages permissions: 0775 files do not appear (in Content, as do files uploaded through the media editor) Switching from ...
1
vote
1answer
25 views

How to load some selected files in Media Browser

I have a run time list of image files with their fid's. I am using Media module to handle image files. I want to load only specific set of image files fid's in the media browser on node add/edit page. ...
1
vote
0answers
89 views

media_internet_get_provider(): Unable to handle the provided embed string or URL

Drupal 7 instance/Media 2.x module won't play nice with media on various internet services (youtube, vimeo, etc.). Originally (media 1.x) it worked with Media:YouTube & Media:Vimeo. I disabled ...
1
vote
1answer
40 views

Using same pictures twice in one node (media module)

I've been using the EPSA crop module for a while now without any complaints. But I've run into a small problem, which I can't fix. I use the media module in combination with the EPSA crop module. When ...
1
vote
0answers
20 views

Media module file browser/selector widget

Is the interface shown in the image below specific to Media 7.x-2.x? I installed Media 7.x-1.x and I don't have the "View Library" tab shown here, I just have "Upload" and "Library".
0
votes
1answer
29 views

How to use tokens as watermark on images

I need to create a watermark on images in my website. The watermark should contain a text which consists of the node ID and its author ID. So for every image a unique watermark is created. How can I ...
1
vote
0answers
66 views

CKEditor image properties missing using Image resize filter with media 2, WYSIWYGs

The Ckeditor image properties is missing. I have checked the following: Clear the cache Alter the order filtering according to the image resize filter recommendations. recommendations for ...
1
vote
1answer
189 views

How to use Subtitles/Captions with MediaElement.js module

Would anyone have some direction to upload subtitles/captions using the MediaElement.JS module?
0
votes
0answers
28 views

file entity based media display

I am trying to determine if there currently exists a module suite that will allow me to import image files and associated metadata directly to an entity, without associating the images with a node or ...
2
votes
1answer
60 views

Add custom image styles to media browser display options

I'm using the Media module in a project. I've defined several custom image styles and would like to add them to the list of display options in the media browser. However, I can't find a way to do so. ...
1
vote
0answers
14 views

Media front preset creation

Clean installation of Drupal 7.41, only installed modules needed for mediafront. When I create a preset and hit save the player preview is blank and cannot click Preset information, Player setting or ...
0
votes
1answer
29 views

Displaying multiple File entity types in a view, when they have different fields to display

Working with the Media module, I want audio and video files to show (user uploaded/selected) preview images when displayed in areas throughout the site (instead of the default soundwave and film clip ...
0
votes
0answers
15 views

media browser only shows images

My media browser widgets only shows uploadet images. Not files of other types (.zip and similar). I need it to show uploaded files of all the following types - which the upload function already is ...
0
votes
1answer
29 views

Need to add media with embed code and NOT URL - how to do it?

I'm trying to create an embedded soundcloud field in my drupal site but the embed is coming out too LARGE. In Soundcloud you can make the embed code reflect a smaller value in the sharing options, but ...