VoronDesign / Voron-Documentation

Sources of the documentation website for all Voron 3D printers
https://docs.vorondesign.com/
GNU General Public License v3.0
238 stars 190 forks source link

Fixed Embed in Secondary printer Tuning #237

Closed T4KUUY4 closed 2 years ago

T4KUUY4 commented 2 years ago

Fixed the Belt tensioning video. Its now embeded

GadgetAngel commented 2 years ago

The imbedded video will not display properly once Jekyll renders the site. Currently the code to display the video is written as:

### Watch this video

https://user-images.githubusercontent.com/54855101/163674612-930d737d-0ab3-4056-a2b9-def2939db61f.mp4

But when Jekyll renders this you end up with the link displayed as a text line: image

Even tho the way it is written shows the .md file looking like the below picture, Jekyll is a static web site generator and will not convert the link correctly. image

One way to fix this is to use the following code:

<iframe src="https://user-images.githubusercontent.com/54855101/163674612-930d737d-0ab3-4056-a2b9-def2939db61f.mp4" width="100%" height="420ppx">
</iframe>

Jekyll renders the iframe code as a truly embedded video file as shown in the picture below (to see a LIVE rendering go to https://gadgetangel.org/tuning/secondary_printer_tuning.html#watch-this-video): image