images
This commit is contained in:
parent
5a681ef654
commit
98d6b482fd
2 changed files with 11 additions and 0 deletions
|
|
@ -219,6 +219,7 @@ function renderAnnotation(config, video, ascroll, annotation) {
|
|||
if (annotation.title) {
|
||||
figcaption = `<figcaption><a href="${baseURL}/${annotation.id}" target="_blank">${annotation.title}</a></figcaption>`
|
||||
}
|
||||
annotation.value = annotation.value.replace('src="/', `src="${baseURL}/`).replace('href="/', `href="${baseURL}/`)
|
||||
div.innerHTML = `
|
||||
<div class="frame">
|
||||
<figure>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue