Closed sheepman4267 closed 2 weeks ago
Implementation detail: Store a (short) hash of the file, and make it possible to look up the media object by that hash. When hand-writing AOML to include media, we can have the author write a [v] tag (or something - syntax undecided). This can show as a "Missing Media" element in the editor. Exported AOML after that should use syntax like [v:abc123hash]
. This way, the media object can be easily re-associated with the slide element when it is imported into a different OpenShow instance.
Media objects should, on a related note, be easy to export to (upcoming) .aomb files.
OpenShow's current approach of using FileFields to manage images and video is far too brittle. We need a separate media management section for many reasons.
SlideElement
model.