Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Content & Markdown

Page remote media files (over http)

Solved by pamtbaau View solution

Started by Guillaume Storchi 5 years ago · 4 replies · 585 views
5 years ago

How is it possible to make ![](https://akaserver.mydomain.com/video.mp4) or mp3 working
In 1.6 Grav, only local server files are supported
Thanks in advance

5 years ago

Thanks, it works. I did not noticed we could add html directly into the markdown editor.
It would eb nice to have this as a default behaviour in grav media link markdown syntax ...
It is just a basic and must have feature for a CMS...
Where are managed links to media in grav ? Is it in the core or in a plugin ?
Have a good day

5 years ago

@sherpadawan,

I did not noticed we could add html directly into the markdown editor.

From the 'inventor' of Markdown:

For any markup that is not covered by Markdown’s syntax, you simply use HTML itself. There’s no need to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags.

As alternatives to <video>, you could try plugins that will generate HTML using <iframe>.

Seek plugins and thou shall find...

last edited 01/13/21 by pamtbaau
5 years ago

None of them are making cloud.mydomain.com/myvideo.mp4 working wit h
![]() syntax.
html in markdown is quite hugly and less readable, less maintanable etc...
thanks anyway for the tip

last edited 01/13/21 by Guillaume Storchi

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 8 months ago
6 97 8 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 185 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 147 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 61 1 year ago
Content & Markdown · by belthasar, 1 year ago
4 255 1 year ago