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.

General

Issue with webm video files due to incorrect default configuration

Started by MO S 9 years ago · 3 replies · 763 views
9 years ago

It looks like webm encoded video files are not rendered correctly when used within md files like follows:

TXT
![](my-video.webm)

After some investigation, I've found out that there seems to be a typo in the default configuration of media types which ships with GRAV.

YAML
  webm:
    type: file
    thumb: media/thumb-webm.png
    mime: video/webm

Should rather be:

YAML
  webm:
    type: video
    thumb: media/thumb-webm.png
    mime: video/webm

At least - if I change the type from text to video, everything seems to work properly.

👍 1
8 years ago

@mos0711:
thumb: media/thumb-webm.png

@mos0711 — I am interested in where exactly the media type config description is saved so as to edit / try this trick myself, also having trouble with webm files!

thanks

8 years ago

sorry - -just found it! system/config/media.yaml for those who are running into same issue!

copying this yaml file into user/config/media.yaml and making the edit suggested by @mos0711 worked for me.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 16 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago