PHP code example of tdoescher / vtt-bundle

1. Go to this page and download the library: Download tdoescher/vtt-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tdoescher / vtt-bundle example snippets


<track src="files/video/subtitles-movie.en.vtt" label="Untertitel" kind="subtitles" srclang="en">
<track src="files/video/subtitles-movie.es.vtt" label="Untertitel" kind="subtitles" srclang="es">
...