You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the code ignores the media_subpath variable, looks for the mp4 file in the root of the project instead of where the media_subpath folder is pointing to.
Steps To Reproduce
Create a page and include the video.html file as above...set put the video in say /assets/posts/videos and set the media_subpath Front Matter page variable to that...
Expected Behavior
All media should be relative to the media_subpath variable, images and video ( and their posters).
In the file /_includes/embed/video.html, lines 6 thru 10 are as follows.
Checklist
How did you create the site?
Generated from
chirpy-starter
Describe the bug
When you embed a video using the include statement as follows:
the code ignores the media_subpath variable, looks for the mp4 file in the root of the project instead of where the media_subpath folder is pointing to.
Steps To Reproduce
Create a page and include the video.html file as above...set put the video in say /assets/posts/videos and set the media_subpath Front Matter page variable to that...
Expected Behavior
All media should be relative to the media_subpath variable, images and video ( and their posters).
In the file /_includes/embed/video.html, lines 6 thru 10 are as follows.
It appears they should be...
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: