fix missing videoUrl br tag

This commit is contained in:
Dave Conway-Jones 2021-10-24 23:36:39 +01:00
parent 8d7e735a25
commit 4a7af58ded
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF

View File

@ -1780,7 +1780,7 @@ function setMarker(data) {
delete data.photoUrl;
}
if (data.hasOwnProperty("videoUrl")) {
words += '<video controls muted autoplay width="320" height="240"><source src="'+data.videoUrl+'" type="video/mp4">Your browser does not support the video tag.</video>';
words += '<video controls muted autoplay width="320" height="240"><source src="'+data.videoUrl+'" type="video/mp4">Your browser does not support the video tag.</video><br/>';
delete data.videoUrl;
}
if (data.hasOwnProperty("ttl")) { // save expiry time for this marker