Allow MediaRich to write to some folders e.g. if on Mac/Linux: cd /Library/Equilibrium/MediaRichModules/Examples/VideoPublish/UserData chgrp mediarich Cache Export ParamSets ParamSets/default chmod g+w Cache Export Movies ParamSets ----------------------------------- Description of source (JavaScript) files: ----------------------------------- VideoPublishMovie - most of the MediaRich interface, probably the most interesting file. Contains information about each movie and the static list of the movies (elements of the main table) VideoPublish - main entry point and declaration and instantiation of module state data and UI VideoPublishState - module state data (model) VideoPublishUI - all the UI code of the module (view and controller) VideoPublishStateChangeListener - interface that allows UI to react to changes in the state (implemented by VideoPublishUI) EqBrowserUtil - helper utilities ------------------------------------ Folder structure: ------------------------------------ Each output movie can have a header (pre-roll), and an end-frame (post-roll). Both can be videos or static images. In addition, you can overlay a graphic (logo) and text on each frame of the movie. Place your media and settings in UserData folder: - movies in Movies folder - header videos in Headers folder - end-frames (gifs, jpegs, etc) in EndFrames folder - logos (graphic overlays) in Logos folder Cache folder is used by the application to cache generated media, so they don't have to be recreated every time. Export folder contains videos that have been exported using the Export button. ParamSets folder contains parameter sets saved with the Save This Set button. Settings folder contains settings files that determine the format, size and other parameters used when exporting movies using Export or Preview To Email buttons. These files can be created using AV Settings Maker. This demo allows several users to have their own sandboxes where their data is stored Some data is shared: EndFrames, Headers, Logos, Settings. Some data is per user + shared: Movies, ParamSets - each user sees files in their subfolder as well as shared files in main folder e.g. user joe will see files in Movies as well as files in Movies/joe User name is specified by adding "box=name" at the end of the URL, e.g. http://localhost/vp?box=joe If you don't specify box, it defaults to "default". Folders outside of UserData are part of the application: - Data = settings used to create preview and PDF template - images, Media = graphics used for UI - to re-skin the app (change UI look), modify graphics in these folders; keep names and sizes - Properties contains properties file that makes parent folder a MediaRich module - Scripts - MediaRich scripts - these (in addition to JavaScript files) make up the code that runs this app - zoom2email - code and graphics used by Zoom To Email function - zoom_movie - code and graphics used by Zoom/Pan Current Frame function