This guide shows how to create a multilingual Video on-Demand (VoD) item which can be embedded into your site, allowing viewers to select their preferred language in the player. In this case, it is done by uploading a separate video for each language. After all video files have been uploaded to Clevercast, you can generate a multilingual VoD item.
- To be able to use the features in this guide, you must have a Clevercast Multilingual plan with support for Video on-Demand.
- Clevercast also allows you to create a multilingual VoD item by adding the MP3 files of the additional languages. Unless there is a reason for having a separate video for each language (e.g. because the videos contain subtitles or presentations in different languages) we recommend adding the MP3 files. In that case, the player only has to reload the audio when a new language is selected.
- A multilingual VoD item can also be used as the source for pseudo-live streaming. Viewers will not see a difference between such a pseudo-live stream and a real live stream. Since this is a multilingual video, they will be able to select their preferred language in the video player.
Uploading the video files and setting their language
Create a single-language VoD item for each language by uploading the video (containing a single video and audio stream). Go to the Upload -> Multi menu. If you want to use your multilingual item for pseudo-live streaming, make sure to select the ‘Pseudo-Live Uploads‘ workflow profile. Select your video file and upload it. Do this for all languages (note that your videos should have the same duration).
When the upload is complete, Clevercast will create a VoD item by transcoding the video and publishing the transcoded files on the CDN (this may take some time). The Media -> Items menu lets you monitor transcoding progress. When the item is ready, go to its detail page.
For each video item you must then set the correct language. Select the ‘Audio Languages‘ panel and use the ‘Default Language‘ control to select the language spoken in the uploaded video. If the video contains multiple languages, you can select
Important: this must be done before you create the multilingual video item. When the multilingual video item has been created, you can no longer change the languages.
Creating the multilingual video item
After you have uploaded all videos and set their language, go to the detail page of the item corresponding to the default language (= the language that is spoken when the player is initially rendered). You will convert this item into a multilingual VoD by attaching the other VoD items to it. To do this, open the ‘Audio Languages’ panel and press the ‘Add language by attaching a multilingual item’ button.
A popup dialog appears, allowing you to enter the ID and language of one of the other items you created. You can find the Item IDs on the items list page or on the detail page of each item.
Enter the item ID and language for one of the other languages, and press the Submit button.
Keep doing this until all languages have been added. When finished, the ‘Audio Languages’ panel will contain an entry for each of the additional languages. In the video player, you will see the headphone icon which allows you to switch languages.
If the ‘Pseudo-Live Uploads‘ workflow profile was selected when you uploaded the videos, you will now be able to use this item as source file for a multilingual live stream.