file.yaml 988 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. media:
  2. video:
  3. mp4: video/mp4
  4. mov: video/quicktime
  5. m4v: video/x-m4v
  6. swf: video/x-flv
  7. image:
  8. jpg: image/jpeg
  9. jpeg: image/jpeg
  10. png: image/png
  11. gif: image/gif
  12. file:
  13. txt: text/plain
  14. doc: application/msword
  15. html: text/html
  16. pdf: application/pdf
  17. zip: application/zip
  18. gz: application/gzip
  19. form:
  20. key: filename
  21. fields:
  22. upload:
  23. type: upload
  24. label: Upload
  25. allow:
  26. @media.*.keys
  27. accept:
  28. @media.*.values
  29. filename:
  30. type: text
  31. label: Filename
  32. type:
  33. type: hidden
  34. default: video
  35. name:
  36. type: unset
  37. description:
  38. type: textarea
  39. label: Description
  40. url:
  41. type: unset
  42. path:
  43. type: unset
  44. thumb:
  45. type: unset
  46. width:
  47. type: text
  48. label: Width
  49. height:
  50. type: text
  51. label: Height
  52. mime:
  53. type: hidden
  54. default: 'application/octet-stream'
  55. modified:
  56. type: unset