diff -r ec6849bbbdcc -r eb8677d3a663 test/test-config.js --- a/test/test-config.js Tue Jun 12 19:44:20 2012 +0200 +++ b/test/test-config.js Wed Jun 20 14:45:30 2012 +0200 @@ -1,4 +1,4 @@ -function testConfig(_urlMetadata, _useLocalBuild) { +function testConfig(_urlMetadata, _useLocalBuild, _video, _playerType) { document.getElementById('LdtPlayer').innerHTML = ''; _useLocalBuild = (typeof _useLocalBuild !== "undefined" && _useLocalBuild) IriSP.libFiles.defaultDir = _useLocalBuild ? "libs/" : "../src/js/libs/"; @@ -31,12 +31,12 @@ type: "AnnotationsList", container: "AnnotationsListContainer" }, - { type: "Mediafragment"}, - { + { type: "Mediafragment"} +/* { type: "Trace", default_subject: "tests-iri", js_console: true - } + } */ ] }, player:{ @@ -49,6 +49,12 @@ metadata: _metadata } }; + if (typeof _playerType != "undefined") { + _config.player.type = _playerType; + } + if (typeof _video != "undefined") { + _config.player.video = _video; + } return new IriSP.Metadataplayer(_config); } \ No newline at end of file