If you have a video with different audio tracks, you can use the HTML code to select which audio track the embedded content should play. This can be useful, for example, if you offer your website in different languages. Without a specific selection, the default audio track will be played.
This is how it works:
- In the “Player” tab of your video on Video.Taxi, you will find the HTML code for embedding
- You can copy this into the source code of your website to embed the video
- You must now add the following parameter to the src URL in this HTML code:
?audio_track=en-US
- “en-US” is only the parameter for ‘English (United States)’, if you have other audio tracks, the parameter must of course be different
- You can find the correct parameters on Video.Taxi directly below the HTML code of the video under “Direct links”. At the end of the respective audio track links, you will find the parameter
This is how it looks in the HTML code that you embed (example code):
<iframe src="https://media.video.taxi/embed/8FuH9HGRqhxJ?audio_track=en-US" frameborder="0" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture" allowfullscreen></iframe>