Revert "Add bookmarks to media timeline"

This reverts commit 963308f499.
main
Bob Mottram 2019-11-30 09:41:58 +00:00
parent 963308f499
commit 7dcc589864
1 changed files with 3 additions and 3 deletions

View File

@ -2345,7 +2345,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
if attachmentCtr>0:
attachmentStr+='<br>'
if boxName=='tlmedia':
galleryStr+='<div id="'+timelinePostBookmark+' class="gallery">\n'
galleryStr+='<div class="gallery">\n'
galleryStr+=' <a href="'+attach['url']+'">\n'
galleryStr+=' <img loading="lazy" src="'+attach['url']+'" alt="" title="" width="600" height="400">\n'
galleryStr+=' </a>\n'
@ -2380,7 +2380,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
if attachmentCtr>0:
attachmentStr+='<br>'
if boxName=='tlmedia':
galleryStr+='<div id="'+timelinePostBookmark+' class="gallery">\n'
galleryStr+='<div class="gallery">\n'
galleryStr+=' <a href="'+attach['url']+'">\n'
galleryStr+=' <video width="600" height="400" controls>\n'
galleryStr+=' <source src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" class="attachment" type="video/'+extension.replace('.','')+'">'
@ -2417,7 +2417,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
if attachmentCtr>0:
attachmentStr+='<br>'
if boxName=='tlmedia':
galleryStr+='<div id="'+timelinePostBookmark+' class="gallery">\n'
galleryStr+='<div class="gallery">\n'
galleryStr+=' <a href="'+attach['url']+'">\n'
galleryStr+=' <audio controls>\n'
galleryStr+=' <source src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" class="attachment" type="audio/'+extension.replace('.','')+'">'