moonmoon icon indicating copy to clipboard operation
moonmoon copied to clipboard

self-hosted embedded media using relative url through the audio or video tag can't be played

Open antistress opened this issue 5 years ago • 2 comments

Expected behavior

What are you expecting to happen?

self-hosted embedded medias using relative url through the audio or video tag should be playable

Actual behavior

What happens instead?

self-hosted embedded medias using relative url through the audio or video tag are not playable whereas those using absolute url are

Steps to reproduce

See this post https://libre-ouvert.tuxfamily.org/index.php?article236/cpe-cinq-ans-dans-lycee-ai-je-change-vie with song at the end using relative url <audio src="/data/documents/Jean-Jacques%20Goldman%20%E2%80%93%20Il%20changeait%20la%20vie.mp3" type="audio/mp3" controls="controls" > </audio> This post can be find within that feed : https://libre-ouvert.tuxfamily.org/feed.php?rss/categorie1/education

Moonmoon version

Which version of moonmoon are you using? If you don't know which one is installed, try open the file VERSION at the root of moonmoon's folder.

Moonmoon 9.0.0-rc3

antistress avatar Nov 30 '20 00:11 antistress

To complete this bug report, I've noticed that the self-hosted picture that should be displayed before the user click on the player (that's the poster attribute within the HTML5 video tag) is not displayed through moonmoon on my planet whereas it is on my personal website. Don't know if it's related

antistress avatar Feb 08 '21 17:02 antistress

Should be fixed if/when https://github.com/simplepie/simplepie/pull/716 gets merged, and there's a new release of SimplePie, and we upgrade moonmoon dependency on it in composer.json.

rdalverny avatar Jan 07 '22 17:01 rdalverny