TO BE DONE: Does not support uploaded videos (like "attachs/video.mp4") yet. Also: Source code formatting.