Riga 7: | Riga 7: | ||
s1.addParam("allowfullscreen","true"); | s1.addParam("allowfullscreen","true"); | ||
s1.addParam("allowscriptaccess","always"); | s1.addParam("allowscriptaccess","always"); | ||
− | s1.addParam("flashvars","&file=/video/mixed.flv&autostart=true&start=0"); | + | s1.addParam("flashvars","&file=/video/mixed.flv&autostart=true&start=0&duration=240"); |
s1.write("container"); | s1.write("container"); | ||
var player = document.getElementById('ply'); | var player = document.getElementById('ply'); |
Go to 60s Go to 120s Go to 180s