You'll need to add two JavaScripts:
-
Vimeo Player API
-
MidityVimeo
This is put in the head of your HTML:
<script type="text/javascript" src="https://player.vimeo.com/api/player.js"></script>
<script type="text/javascript" src="MidityVimeo.js" ></script>
<iframe src="https://player.vimeo.com/video/9594618" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<div id="subtitles_9594618"></div>
<script type="text/javascript">
var subtitles = [
[1,10, "<B>Visit De Kift at <a href=\"http://www.dekift.nl\">dekift.nl</B>"],
[18, 24, "I am building an organ where we can sit in."],
[290,290,""],
];
MidityVimeoLib.showSubtitles(9594618, subtitles, "subtitles_9594618");
</script>
John Zandbergen, www.midity.com