diff --git a/openlp/core/lib/htmlbuilder.py b/openlp/core/lib/htmlbuilder.py
index 69126163a..a0944054f 100644
--- a/openlp/core/lib/htmlbuilder.py
+++ b/openlp/core/lib/htmlbuilder.py
@@ -183,7 +183,8 @@ sup {
case 'currentTime':
return vid.currentTime;
case 'seek':
- vid.currentTime = seekVal;
+ // doesnt work curently
+ //vid.currentTime = seekVal;
break;
}
}
@@ -327,20 +328,22 @@ sup {
}
}
- function show_flash(state, path){
+// http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html
+ function show_flash(state, path, volume, seekVal){
var text = document.getElementById('flash');
var flashMovie = getFlashMovieObject("OpenLPFlashMovie");
var src = "src = 'file:///" + path + "'";
var view_parm = " wmode='opaque'" +
" width='" + window.innerWidth + "'" +
" height='" + window.innerHeight + "'";
- var swf_parm = " autostart='false' loop='false' play='false'" +
- " hidden='false' swliveconnect='true'" +
- " name='OpenLPFlashMovie'>";
+ var swf_parm = " name='OpenLPFlashMovie'" +
+ " autostart='true' loop='false' play='true'" +
+ " hidden='false' swliveconnect='true' allowscriptaccess='always'" +
+ " volume='" + volume + "'";
switch(state){
case 'load':
- text.innerHTML = "