Hi all,
I'm really confused by the workflow with this new media:youtube module for d7... with d6 I had no problems using the embedded media field and its inline-media option and this whole new setup has me scratching my head; mainly as there is no documentation on how to set it up and get a playable video displaying.
I've installed the Media Module along with the Styles/FileStyles/StylesUI module(s) + the Media:Youtube module and am lost between the File Types and File Styles admin areas... without creating a media field for my content type called News, how can I simply click the media button in Ckeditor, pop in the URL to a youtube video and have the video embedded in the post when I submit it?
Right now, a still from the video is displayed in the post instead of the video itself - I'm not sure where to set the default display for youtube media as being a playable embed instead of the image that is currently displaying!
Please help - in exchange for clues on how to get this working I'll write up a big blog post detailing the workflow ;)
q./
Comments
Comment #1
Anonymous (not verified) commentedIt's a hair puller this one... --subscribing
Comment #2
johannesdr commentedI am having more or less the same problem.
I have a content type news, with a Multimedia asset field.
When I create a new node I can add a youtube movie, it creates a still for the movie and adds it to the node.
When I go to admin/content/media I see the movie. When I open it and click view, it shows the embed fine.
But the problem is that it won't show up when you view the node. I tried all possible field display settings (media style: large, thumbnail, ...), but it's always empty.
Comment #3
RonP commentedThing is the media project isn't near ready for beta status yet. While reinventing the wheel they keep, well, reinventing. I am sure it is a case of confilcts and such but calling this project a beta is totally misrepresenting the actual production state.
Comment #4
MacRonin commentedI'm running the dev version of Media module and 7.x-1.0-alpha5 for the YouTube module and having the same problem.
I get a thumbnail displayed but it is not linked to a player. I have tried using the base youtube player, jplayer and mediaelement, but each time all I get is the still graphic. If I switch over to show a link it will insert a link which does bring up the full YouTube page, but no luck so far getting the inline player :-(
I know it's probably going to be something simple once I know what it is. but for now I don't see it.
Comment #5
MacRonin commentedOK, I don't know if this will work for anyone else, but it at least got me started. Unfortunately I have forgotten the exact page URL :-( but I do remember the setting. (update: I think it was under "Manage Display" setting for the Content type)
At the bottom of the page under a collapsed section "CUSTOM DISPLAY SETTINGS" I noticed that only Teaser was selected. I then added "Full content", and TaDa. I had a embedded video from youtube playing back :-)
Hope this helps someone. Good luck ...
Comment #6
johannesdr commentedThanks MacRonin, I managed to display the embedded video.
My setup:
Styles 7.x-2.0-alpha8
Media 7.x-1.x-dev (from 2011-May-26 )
Media: Youtube 7.x-1.0-alpha5
Like you said you need to go to admin/structure/types/manage/*content_type*/display
Under custom display settings you check 'Full content' (and any other display you will be using) and save.
After saving you will be able to configure each display (tabs in top right corner).
For your youtube media field, choose the format 'media'. On the same row 'File view mode: ...' will appear with a configuration button. When you click that button you can change the file view mode. For example choose large or original to display the embedded video.
(I think 7.x-1.0-beta4 of media doesn't have the media format, you can select large from the list)
Comment #7
BeaPower commenteddidnt work for me...
Comment #8
liquidcms commentedi am able to get a default video player using this: #1077088: The Great YouTube Mystery: How to play a video? but can't find any settings anywhere to set the player size.. emfield.. so much easier.. :)
Comment #9
mrP commentedSee #1077088: The Great YouTube Mystery: How to play a video? as referenced in #8 for getting media and media_youtube configured and working. I haven't worked with styles to see how that changes the config.
The 'File view mode:' for your video field at admin/structure/types/manage/[content-type]/display must match an enabled video display at admin/config/media/file-types/manage/video/file-display. Once 'YouTube video' is enabled for a particular video display, you'll see options for playback size.
Media + WYSIYWG integration is also a good guide for setting up embedded media in a WYSIWYG html space.
Let me know if this is still unclear.
Comment #10
yurtboy commented#5 worked for me. Tricky though cause some of the formats like small did not work. Also I had to update the Full Node view not the Default one to make the full view. At first I assumed Full would use Default but it did not.
After that I tested and got Original and Large to work and then Preview was just an image.
Comment #11
RobW commentedWork to create documentation will happen in #1689302: Get the read me up to date. After we have a stable, docs are top priority.