Closed (fixed)
Project:
Embedded Media Field
Version:
6.x-2.x-dev
Component:
Embedded Inline Media
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2009 at 18:55 UTC
Updated:
2 May 2011 at 21:54 UTC
I have enabled this module, and added this option under my input formats, but can't seem to make it work. Is there a step that I'm missing? Thanks.
Comments
Comment #1
kirkcaraway commentedI've upgraded to the newest release, and I'm still not able to get it to convert a youtube url to a player. Has anyone got this to work yet? Thanks.
Comment #2
Rtalian commentedHi, in case you have not found the problem yet, I found that the individual providers have to be enabled on the Configure tab of the filter. Even though it says that they will all be supported if none are checked, it only worked for me once I checked them. Good luck! :)
Comment #3
kirkcaraway commentedThanks! That fixed the problem. Another tip is to make sure all of your relevant filters are configured.
I wouldn't have guessed to look there. This module needs some documentation. I'm swamped right now, but in a few weeks I would be willing to help out if no one else can. Thanks.
Comment #4
kirkcaraway commentedRan into a new, minor problem. I can't seem to change the size of the videos that are embedding inline. I've changed the size under the Filters settings, but nothing happens. Any clue as to what to do here? Thanks.
Comment #5
SeanBannister commentedReally having trouble getting this working, I've enabled all the providers and added the emfield to the content type and enabled the filter for the content type.
I also tried posting the plain URL and also tried
[video:http://www.youtube.com/watch?v=LU8DDYz68kM]Comment #6
aaron commentedAfter enabling the module, you need to go to your Input Filters administration at /admin/settings/filters, configure the format you wish (such as Full HTML at /admin/settings/filters/2), check the box to allow Embedded Inline Media, and then configure the filter (such as at /admin/settings/filters/2/configure). In the filter's configuration, you'll then check the providers you wish to allow, and any other desired settings. Finally, when submitting a node, you'll need to ensure the proper filter is selected, and simply paste the URL (no brackets). Note that this will conflict with the URL filter if that is enabled, so you'll need to rearrange the filters to ensure the Embedded Inline Media filter is above that.
I just added this to the README to help folks in the future as well.
Comment #8
HXn commentedComment #9
HXn commentedHi aaron,
I've done everything you described above, however, I'm still do not have a player displaying. The text of the link is now gone, but there is nothing in its place.
Comment #10
funana commentedSame here. The link doesnt show up anymore, neither the player. Tested it with a Youtube link.
Edit: Dohh! Used it with the Filtered HTML format and the
<object>tags simply got filtered. Addedobjectto the allowed HTML tags and it works now.Comment #11
henrrrik commentedHow is this supposed to work? It only fires with hook_filter on the first node view, on subsequent views the JavaScript doesn't get included any more and the embed stops working.
Comment #12
aaron commented@henrrrik: good point; it doesn't work w/ js + swfobject. only works w/ straight object embeds. not sure if there's going to be a way to fix that.
Comment #13
vinoth.3v commentedyou tube is working for me
but yahoo, flickr etc are not
please note INPUT FILTERS weight is important.
for example, if html filter has heavy weight than em inline weight, it will strip the embed/object tags if that filter does not allow these tags..
Comment #14
zoo33 commentedWRT henrrrik's and aaron's comments above, I think it would be possible to solve the issue with a hook_nodeapi() implementation. Meta code:
eminline_needs_swfobject() is a function that would have to be developed. Also, this only deals with nodes. A similar solution would have to be implemented for blocks/boxes I guess. Also, the field in question may be shown by Views without the node necessarily being viewed as a whole.
Comment #15
gdf commentedFound a quirk that causes the inline URL not to be converted to a video/preview/thumbnail: the URL cannot be enclosed "tightly" in a HTML tag. What I mean by that is, you cannot have <span>youtube-URL</span> or <div>youtube-URL</div>. You can, however, have <span> youtube-URL </span>; the difference in the last example is that there is whitespace between the tags and the URL.
I'm a newbie here so if this isn't the right place to report this, let me know what IS correct. And I'm dying to know about the possibility of other emfield types being inline-enabled, especially images.
Comment #16
shaundychkoI created a new issue for this here: http://drupal.org/node/817280
Comment #17
alex ua commentedMarking this one as fixed. Follow up on #817280: Embedded video field can't be put tightly between html tags if you're still having problems.
Comment #18
geerlingguy commentedMoved discussion over to #811090: Embedded Inline Media filter regex out of date - URL can't be wrapped in HTML tags.
Comment #19
camerongoble commentedI just encountered this issue and can confirm: adding
to the filtered HTML allowed tags made the video show up. Presumably this won't happen with the Full HTML filter.Comment #20
geerlingguy commented@camerongoble - please follow-up by testing the patch over at #811090: Embedded Inline Media filter regex out of date - URL can't be wrapped in HTML tags. Should fix the problem for you.