diff --git a/record-and-playback/presentation/playback/presentation/playback.html b/record-and-playback/presentation/playback/presentation/playback.html index 45be4f7086bb0e184f6ed257566a8a04bb5d7d0d..e983c92cb96e9a0920cb1feee31b4bb984c77b40 100755 --- a/record-and-playback/presentation/playback/presentation/playback.html +++ b/record-and-playback/presentation/playback/presentation/playback.html @@ -44,7 +44,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. </div> </div> <p id="footer">Recorded with <a href="http://bigbluebutton.org/">BigBlueButton</a>.</p> - <script src='lib/writing.js'></script> +<!-- <script src='lib/writing.js'></script> --> </body> </html> diff --git a/record-and-playback/presentation/playback/presentation/playback.js b/record-and-playback/presentation/playback/presentation/playback.js index ae60fa1f72da0e1469a827e4286c2092c70f1c01..18411cda10bc6cd25ba12521fffdcd0a015331c0 100644 --- a/record-and-playback/presentation/playback/presentation/playback.js +++ b/record-and-playback/presentation/playback/presentation/playback.js @@ -245,6 +245,12 @@ load_audio = function() { document.getElementById("audioRecordingWrapper").appendChild(audio) } +load_script = function(file){ + script = document.createElement('script'); + script.src = file; + script.type = 'text/javascript'; + document.getElementsByTagName('body').item(0).appendChild(script); +} document.addEventListener( "DOMContentLoaded", function() { var appName = navigator.appName; @@ -263,7 +269,7 @@ document.addEventListener( "DOMContentLoaded", function() { } },true); load_video(video) - + load_script("lib/writing.js"); generateThumbnails(); }, false);