So, we see that there are two separate index.php files: the one at the root and the one in each subfolder. text_page.jpg : the text that will appear at the top of the home page.Īnd there are as many identical subfolders of this type as you want:.logo_page.jpg : the logo of the home page, and the site.Since a picture is worth a thousand words, here is a concrete example of a tree structure: Choose a logo for each page and for the home page.Write a small text the page of each subfolder and the home page.You can number the folders and files if you want a display order. Important: mp4, jpg and txt file names must be exactly the same, and must not have capital letters, accented characters or spaces. Create a TXT file corresponding to each movie.Create a light JPEG thumbnail (720 pixels wide for example) for each movie.Video files encoded in light MP4 (10 to 20MB per minute).Instead of only having a subfolder /mp4/ in my computer where I prepare the MP4 files encoded with handbrake, I have three folders : /mp4/, /jpg/ and /txt/, in which I will put what I need so that then the CMS displays the movies automatically : The single page is simpler, you can download it, it speaks for itself with the example it contains. In this article I explain how the CMS works with tree structure. Single page : but if you only have one list of movies, so you only need one page, I made a version of the CMS for single page, which works on the same principle in a simpler way.For example during the summer of 2018 I led filmmaking workshops in several holiday centres CCAS: I wanted a home page that would give access to films made in each centre. Tree structure : there is a “root” folder for the home page, which contains subfolders where the video files are stored.The goal is not to waste time to put the files online, for example after an educational intervention, and yet to be able to immediately offer a pretty interface, which is important for the enhancement and sustainability of productions.But the CMS generates pretty pages almost automatically that can be edited. With this mini CMS (Content Management System), which I named BL_VIDEO_CMS, the use is almost as simple as uploading MP4 files to an FTP.It worked, while being very spartan: there was just the list of files, often divided into subfolders for more clarity, but “dry”, without any possible editorialization.: I used to copy files to an FTP server and people could access them.The goal is to have an almost automatic mini-site to display light MP4 files (with handbrake) in a nice and inviting way.Unless you install a server (like Apache) on your local computer, of course. This platform only works on a web server, not on a local computer, because it is programmed in PHP (language interpreted by all hosts).Know how to use plain text software, such as Notepad2-mod or Notepad++ under Windows.Know how to use FTP software like Filezilla (this can be learned in 5 minutes).Have a web hosting (payed, like O2Switch or free like Free pages perso).Take care that the file does not “weigh” more than 10 to 20 MB / minute (so that it “fits” well in most connections).Don’t forget to check the “web optimized” box in handbrake (this is what allows streaming). ![]() The only thing is that you must first “encode” the videos in light and compatible format (to do this the free software handbrake is really one of the simplest and most effective tools).Īs soon as the videos are “encoded”, in MP4 format which makes them readable by web browsers, it is enough to drop the files on its server (via FTP software) so that they can be directly readable in streaming. You can put videos online on your own server (paid or free), just like you put texts and photos. It is often mistakenly believed that video platforms such as YouTube, Vimeo or Dailymotion are essential to be able to put streamable videos online. Mini platform for automatic display of video files online in your website.īy Benoît Labourdette.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |