7607 Posts in 1236 Topics by 846 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Trouble with MP4's
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 840 Views |
-
Trouble with MP4's

16 October 2009 at 3:54am
Hey guys,
When I upload an MP4 video, the DOM seems to get confused sometimes and add it as audio. I have it set in the allowed file types in FLV.php and in the page I'm using the DOM on.
Any Ideas?
-
Re: Trouble with MP4's

16 October 2009 at 6:20am
I don't see how that could happen. A file gets upgraded to the MP3 class based on its extension matching the $allowed_file_types array in the MP3 class. The only value in there is 'mp3', so I don't know how mp4 would sneak through as a false positive.
Is the file being stored in the File table with ClassName MP3?
-
Re: Trouble with MP4's

16 October 2009 at 7:48am
It's weird, I just uploaded the same MP4 that did it earlier and I cant get the issue to duplicate. The next time it comes up I will check the class.
It would show the icon for the file as the sound icon and not let me attach it to my video DOM. ( which only allows certain file types, mp4 included ).
I will check the DB next time, I tried to duplicate it twice with no success though.
| 840 Views | ||
|
Page:
1
|
Go to Top |

