Closed (outdated)
Project:
D7 Media
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2011 at 15:05 UTC
Updated:
29 Oct 2018 at 15:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aniebel commentedSorry, here are my module versions:
Drupal Core - 7.8
Media - 7.x-1.0-beta5
File Entity 7.x-1.0-beta5
Wysiwyg 7.x-2.1
Chaos tools 7.x-1.0-rc1
Comment #2
aniebel commentedThis is true for the Media:Youtube. Shows thumnail in edit window but the content div is empty when viewing the node.
Comment #3
flosuter commentedHave you activated the following filtering options for the used text formats?
You might have to move it to the last place in the processing order.
Comment #4
aniebel commentedThanks flosuter, where is this done? I have been able to view an image ONLY if I choose the Media Gallery style in the Display Options of this particular content type. I have gone into both File Styles and Media Styles (unsure what the difference is, to be honest) and configured there but when using any other style than that, I get an error on the page:
•Notice: Undefined property: stdClass::$uri in file_styles_styles_filter() (line 33 of /var/www/vhtdocs/userweb51319/html/drupal/sites/all/modules/styles/contrib/file_styles/file_styles.module).
•Notice: Undefined property: stdClass::$uri in media_youtube_file_styles_filter() (line 65 of /var/www/vhtdocs/userweb51319/html/drupal/sites/all/modules/media_youtube/includes/media_youtube.styles.inc).
•Notice: Undefined property: stdClass::$filemime in file_styles_styles_filter() (line 49 of /var/www/vhtdocs/userweb51319/html/drupal/sites/all/modules/styles/contrib/file_styles/file_styles.module).
Comment #5
aspilicious commentedThe wysiwyg editor is linked to a filter: for example FULL HTML.
On the config pages where you edit the settings for that filter you have to enable the checkbox.
Comment #6
flosuter commentedIt's under Configuration>>Content Authoring>>Text Formats
then select the corresponding Text Format, i.e. Full HTML, Filtered HTML
Comment #7
aniebel commentedI don't see that option to set it.
Comment #8
aniebel commentedApologies, I repsponded prior to seeing #6 being posted. Have found that and retrying now.
Comment #9
aniebel commentedHappy to report that this works for me know. It's a little obscure... that requirement.
Also able to successfully view video. Thanks flosuter!
Comment #10
aniebel commentedComment #11
ronline commented@aniebel. How did you get working the video.
In my case it work only with images.
For the video / flv files I get the default media icon.
Screenshot is attached.
Comment #12
ronline commentedChanging the issue status to "needs review"
Comment #13
devin carlson commentedThe original has been fixed as per #9.
For issues with displaying videos inserted through WYSIWYG, please see #1283844: [meta] Improve WYSIWYG integration.
Comment #14
Vincent_t commentedI have the same problem, I can add a image frome the media browser, the picture is correctly displayed in the wysiwyg, but when I save the article, there is only the text tag.
The "Convert Media tags to markup" is checked fot Full HTML and Filtered HTML, the allowed tags includes
<img>.Any idea?
Drupal core 7.15
Media 7.x - 1.2
wysiwyg 7.x - 2.1
File entity 7.x - 1.2
Comment #15
steinmb commented