For newer versions of webkit playing videos doesnt work anymore.

bzr-revno: 1807
This commit is contained in:
Christian Richter 2011-11-29 19:49:33 +02:00 committed by Raoul Snyman
commit b2349d892b

View File

@ -121,8 +121,8 @@ sup {
} }
switch(state){ switch(state){
case 'init': case 'init':
vid.src = path; vid.src = 'file:///' + path;
vid2.src = path; vid2.src = 'file:///' + path;
if(loop == null) loop = false; if(loop == null) loop = false;
vid.looping = loop; vid.looping = loop;
vid2.looping = loop; vid2.looping = loop;