Page 32 - print
P. 32

Video platform: a customizable, rich media solution | 31























            Figure 19: The unprocessed videos page of the admin panel

            Opening the page to add a video, it would first start by checking this folder and grabbing one of the files. After grabbing
            the file, it would run the file through the FFMPEG tool and creating 10 thumbnails of the video file. The 10 thumbnails
            would then be saved in a folder called ‘temp_thumbnails’, so that they were available to use to perform any action on them
            later on. The page would open up, with the video and the thumbnails. If you happen to refresh the page, you would get a
            different video and the thumbnails of this new video would overwrite the older thumbnails in the ‘temp_thumbnails’
            folder. With the video, there would be a form as well on the page; namely, a form where you could fill in the videos’
                                                       4
            information. The title, description, meta_description , categories and tags. After filling out the form, and selecting one of
            the 10 thumbnails as the start thumbnail of the video, you could either instant post or add the video to a queue.

            Instant posting meant that the video would be posted right at that instant, with the date and time of the moment.
            However adding to a queue would mean, that the video platform would firstly check in the database to find the last posted
            video and grab it’s date and time. It would then compare that date and time with the date and time of right now, this
            moment. If the date and time of the last video was in the future, then it would hold on to that date and time and add
            another 30 minutes to it. This means that the video would be posted with and extension of 30 minutes on its upload date. If
            however the date and time was not in the future, then it would use the date and time of the moment, and add 30 minutes
            to it. Thus changing the video and extending it for 30 minutes later.

            Every time you would put a video to the queue, it would add 30 minutes to it. All throughout the video platform project
            there are checks that every time takes a look at the upload date of the videos. On the front end of the video platform, it
            would never occur, that videos that have a date and time which is in the future compared to the moment right now, would
            get shown. Only when the upload date and time was passed, would the video become live for users to see.

            This simple trick made sure that videos would be able to get queued. The 30 minutes were decided with the company
            directors. After some discussions we decided 30 minutes would be the right amount for scheduling; it was not too long, but
            also not too short.

            Before posting or scheduling the video, however there was another check; the video platform would check if you were
            logged in as a manager or admin. It would then take into consideration to count the amount of videos, so that this
            information could be stored in the database. This way the video platform would store how many videos were being posted
            by the managers. Finally the video URL would be added to the sitemap. The full finished page of the ‘voeg video’s toe’ can
            be seen in figure 20.

                4: Meta_description is the description of a whole page. This description is at the back in the source of a page, and a visitor will not be able to
            see it. However search engines will read the meta_description and the description that you will find for that page in the search result will be equal to
            the meta_description of the page. For SEO optimization it is best to have a unique meta_description for each page.
   27   28   29   30   31   32   33   34   35   36   37