1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-21 23:17:42 +02:00

Desktop, Mobile: Add support for media player for video and audio files

Co-authored-by: Bryan <bryan.r.gerlach@gmail.com>
This commit is contained in:
Laurent Cozic
2020-08-02 12:03:49 +01:00
parent 7f73931530
commit 13280ce1b3
10 changed files with 54 additions and 10 deletions

View File

@ -58,7 +58,7 @@ class HtmlToHtml {
html = htmlUtils.processImageTags(html, data => {
if (!data.src) return null;
const r = utils.imageReplacement(this.ResourceModel_, data.src, options.resources, this.resourceBaseUrl_);
const r = utils.resourceReplacement(this.ResourceModel_, data.src, options.resources, this.resourceBaseUrl_);
if (!r) return null;
if (typeof r === 'string') {