Closed (fixed)
Project:
File Entity (fieldable files)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2013 at 21:47 UTC
Updated:
18 Oct 2013 at 20:08 UTC
Jump to comment: Most recent file
Comments
Comment #1
junedkazi commentedAttaching field settings and display mode
Comment #2
dave reidIn your 'Manage file display' settings for the Video file type, you should order the file formatters for Youtube or your more specific types of remote media *higher* than than the Video formatter. We might need to check the default settings of Media: Youtue or oEmbed to ensure their default configs follow this behavior.
Comment #3
junedkazi commentedSo on further debugging I noticed that the display order was causing the issue. SO if I move video right at the bottom then the internet source videos work fine and load in an iframe. But if I keep it right at the top then it tries to load in hrml5 format.
I believe we should have some kind of a check to check the source/mime type.
Comment #4
junedkazi commented@Dave you were very quick. Before I could post my next response you had the same answer. So does this qualify as a bug ?
Comment #5
dave reid@junedkazi: Was this a fresh install of both Media and Media: Youtube, or an upgrade from 1.x?
Comment #6
junedkazi commentedI have been running dev version of media/file entity/youtube for a while. But after the alpha release I decided to move to alpha release as it is much more stable.
Currently I am running
Media 7.x-2.0-alpha1
Media: YouTube 7.x-2.0-rc3+8-dev
File entity 7.x-2.0-alpha2
Comment #7
dave reidThis should at least fix the default ordering errors by putting the Audio and Video file formatters *last* for the relevant file types. Also removes some un-relevant file formatters for some file types as well (no export for audio and video on document file types).
Comment #8
aaron commentedThis works really well.
Comment #9
junedkazi commentedIt works perfectly fine. SO RTBC from me as well.
Comment #10
radiobuzzer commentedI confirm that this patch works. Fix should be given a priority as it breaks the recommended version alpha2 as well.
Comment #11
devin carlson commented#7 works as advertised but I think that I would go as far as removing all of the un-relevant file formatters and ordering all of the relevant formatters last.
Comment #12
devin carlson commentedCommitted #11 to File entity 7.x-2.x after testing it again to confirm that it fixes the issue as the RTBC patch in #7 did while removing the remaining irrelevant formatters.
Comment #14
dureaghin commentedCommitted #11 works for me. Thanks.