Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

FileDataObjectManager || Wrong ClassName on flv Upload


Reply


2 Posts   852 Views

Avatar
dacar

Community Member, 168 Posts

21 September 2010 at 2:58am

Hi,

everytime i upload an .flv file the wrong ClassName is written to the file Table. Instead of flv it is file. And that is the reason why the Player does not work. Can anybody help?

Avatar
UncleCheese

Forum Moderator, 4096 Posts

25 September 2010 at 4:36am

Try casting the file relationship as 'FLV' instead of 'File'..

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com