record-and-playback: Forced alt to be included as part of the image thumbnail element in preview extension
This commit is contained in:
parent
039d85fe5c
commit
d2a633a27b
@ -1034,8 +1034,7 @@ begin
|
||||
xml.preview {
|
||||
xml.images {
|
||||
presentation[:slides].each do |key,val|
|
||||
attributes = {:width => "176", :height => "136"}
|
||||
attributes[:alt] = val[:alt] if val[:alt] != nil
|
||||
attributes = {:width => "176", :height => "136", :alt => (val[:alt] != nil)? "#{val[:alt]}": ""}
|
||||
xml.image(attributes){ xml.text("#{playback_protocol}://#{playback_host}/presentation/#{$meeting_id}/presentation/#{presentation[:id]}/thumbnails/thumb-#{key}.png") }
|
||||
end
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user