diff --git a/record-and-playback/presentation/scripts/presentation.nginx b/record-and-playback/presentation/scripts/presentation.nginx index 20ed5b4820ae84d4ebda3db3d57ab1288b006898..a2d0e1a926516ce04780723260ac72bf13bbb270 100644 --- a/record-and-playback/presentation/scripts/presentation.nginx +++ b/record-and-playback/presentation/scripts/presentation.nginx @@ -16,14 +16,18 @@ # with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. # - location /playback/presentation/playback.html { - return 301 /playback/presentation/0.81/playback.html?$query_string; - # If you have recordings from 0.9.0 beta versions and are sure - # that you will never want to play recordings made with - # BigBlueButton 0.81, comment the line above and uncomment the - # following line: - #return 301 /playback/presentation/0.9.0/playback.html?$query_string; - } + location /playback/presentation/playback.html { + return 301 /playback/presentation/0.81/playback.html?$query_string; + # If you have recordings from 0.9.0 beta versions and are sure + # that you will never want to play recordings made with + # BigBlueButton 0.81, comment the line above and uncomment the + # following line: + #return 301 /playback/presentation/0.9.0/playback.html?$query_string; + } + + location /playback/presentation/2.0/playback.html { + return 301 /playback/presentation/2.3/$arg_meetingId?$query_string; + } location /playback/presentation { root /var/bigbluebutton; diff --git a/record-and-playback/presentation/scripts/publish/presentation.rb b/record-and-playback/presentation/scripts/publish/presentation.rb index 855530be61cdb706a8cb5cd43d9d32328c3c68fa..50f6c37f96138089fe62c2c8018514741e484886 100755 --- a/record-and-playback/presentation/scripts/publish/presentation.rb +++ b/record-and-playback/presentation/scripts/publish/presentation.rb @@ -1268,7 +1268,7 @@ begin metadata_with_playback = Nokogiri::XML::Builder.with(metadata.at('recording')) do |xml| xml.playback { xml.format("presentation") - xml.link("#{playback_protocol}://#{playback_host}/playback/presentation/2.0/playback.html?meetingId=#{$meeting_id}") + xml.link("#{playback_protocol}://#{playback_host}/playback/presentation/2.3/#{$meeting_id}") xml.processing_time("#{processing_time}") xml.duration("#{recording_time}") unless presentation.empty? @@ -1370,4 +1370,3 @@ rescue Exception => e exit 1 end -