diff --git a/record-and-playback/presentation/playback/presentation/css/bbb.playback.css b/record-and-playback/presentation/playback/presentation/css/bbb.playback.css index e708c95bf0df4f97e6e5c37eca47d3970f95ca44..446bc7202ffe83c0edef4159ca8249a9ecd83dd7 100755 --- a/record-and-playback/presentation/playback/presentation/css/bbb.playback.css +++ b/record-and-playback/presentation/playback/presentation/css/bbb.playback.css @@ -187,6 +187,6 @@ br{ #cursor { - position: absolute; + position: relative; background: red; } diff --git a/record-and-playback/presentation/playback/presentation/lib/writing.js b/record-and-playback/presentation/playback/presentation/lib/writing.js index 6aaae6b0301560baa49c7d5f603df081756b150a..17cea5997eb7a8af9a30f4249e301ee547cce64f 100755 --- a/record-and-playback/presentation/playback/presentation/lib/writing.js +++ b/record-and-playback/presentation/playback/presentation/lib/writing.js @@ -103,7 +103,6 @@ function cleanseSlideText(text) { // - - - END OF JAVASCRIPT FUNCTIONS - - - // function runPopcorn() { - console.log("SVG loaded"); if(svgobj.contentDocument) svgfile = svgobj.contentDocument.getElementById("svgfile"); else svgfile = svgobj.getSVGDocument('svgfile'); @@ -125,11 +124,8 @@ function runPopcorn() { //get the array of values for the first shape (getDataPoints(0) is the first shape). var array = shapeelements[0].getElementsByClassName("shape"); //get all the lines from the svg file - //var pages = shapeelements[0].getElementsByClassName("page"); var images = shapeelements[0].getElementsByTagName("image"); - //console.log(images); - //fill the times array with the times of the svg images. for (var j = 0; j < array.length; j++) { times[j] = array[j].getAttribute("id").substr(4); @@ -321,7 +317,7 @@ function runPopcorn() { var cursor_on = false; if(cursorVal != null) { if(!cursor_on) { - document.getElementById("cursor").style.visibility = 'visible'; + document.getElementById("cursor").style.visibility = 'visible'; //make visible cursor_on = true; } setCursor([parseFloat(cursorVal[0]) + imageXOffset - 6, parseFloat(cursorVal[1]) + imageYOffset - 6]); //-6 is for radius of cursor offset @@ -331,7 +327,6 @@ function runPopcorn() { }); }; - var current_canvas = "canvas0"; var current_image = "image0"; var currentcanvas; @@ -381,4 +376,3 @@ window.onresize = function(event) { svgobj.style.left = document.getElementById("slide").offsetLeft + "px"; svgobj.style.top = "8px"; }; -console.log("writing.js is loaded."); diff --git a/record-and-playback/presentation/playback/presentation/playback.html b/record-and-playback/presentation/playback/presentation/playback.html index 5d842d651c261b0fc5459a75c6bd7d510382bc84..5b170064fd3198fb65a8dc883f5372e272f9eb52 100755 --- a/record-and-playback/presentation/playback/presentation/playback.html +++ b/record-and-playback/presentation/playback/presentation/playback.html @@ -29,10 +29,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. <div id="playbackArea" class="clearfix" role="main"> <div id="thumbnails" role="region" aria-label="Slide thumbnails"></div> <div id="presentation"> - <div id="slide" role="region" aria-label="Slide"></div> - <div id="slideText" class="visually-hidden" role="region" aria-live="polite" aria-label="polite"></div> + <div class="circle" id="cursor" style="visibility:hidden;"></div> + <div id="slide" role="region" aria-label="Slide"> + </div> + <div id="slideText" class="visually-hidden" role="region" aria-live="polite" aria-label="polite"></div> </div> - <div class="circle" id="cursor" style="visibility:hidden;"></div> <div class="chatcontainer"> <div id="chat" aria-live="polite" role="region" aria-label="Chat messages"></div> <div id="videoRecordingWrapper" role="region" aria-label="Video"> diff --git a/record-and-playback/presentation/scripts/publish/presentation.rb b/record-and-playback/presentation/scripts/publish/presentation.rb index 0984d5c240924b98bbb5520a0d3294db5ca5bd55..3a15e6b1cbc6a342561b0440983ac3028970e71e 100755 --- a/record-and-playback/presentation/scripts/publish/presentation.rb +++ b/record-and-playback/presentation/scripts/publish/presentation.rb @@ -498,8 +498,8 @@ def processChatMessages end end -$vbox_width = 800 -$vbox_height = 600 +$vbox_width = 1600 +$vbox_height = 1200 $magic_mystery_number = 2 $shapesold_svg_filename = 'shapes_old.svg' $shapes_svg_filename = 'shapes.svg' @@ -643,17 +643,10 @@ if ($playback == "slides") processPanAndZooms() - BigBlueButton.logger.info("Cursor events empty: #{$cursor_events.empty?}") processCursorEvents() - - - BigBlueButton.logger.info("writing slides_new.xml") # Write slides.xml to file File.open("#{package_dir}/slides_new.xml", 'w') { |f| f.puts $slides_doc.to_xml } - - BigBlueButton.logger.info("Wrote slides_new.xml") - # Write shapes.svg to file File.open("#{package_dir}/#{$shapes_svg_filename}", 'w') { |f| f.puts $shapes_svg.to_xml.gsub(%r"\s*\<g.*/\>", "") } #.gsub(%r"\s*\<g.*\>\s*\</g\>", "") }