mirror of
https://gitlab.waag.org/make/fablab/interns/2025/sam.git
synced 2025-08-03 20:04:56 +00:00
Added mime type to videos
This commit is contained in:
@@ -142,7 +142,7 @@ You can choose through how much walls it should go or you can define the dimensi
|
||||
To connect the 2 sketches I used loft.
|
||||

|
||||
|
||||
What loft does is create a smooth solid surface between 2 surfaces.
|
||||
Loft creates a smooth solid body between 2 surfaces.
|
||||
|
||||

|
||||
After that I created a sketch on the front surface with a offset so I could extrude the inside
|
||||
@@ -183,13 +183,13 @@ After that you can select everything and press `Control + L` and then link anima
|
||||
|
||||

|
||||
|
||||
<video controls src="../../assets/assets_week_2/blender/droneAnimation1.mp4" title="Title"></video>
|
||||
<video controls src="../../assets/assets_week_2/blender/droneAnimation1.mp4" title="Title" type="video/mp4"></video>
|
||||
|
||||
|
||||
##### Issue with rotor animation
|
||||
When I try to angle the drone for an animation the rotors go spinning in a weird direction and I don't know why.
|
||||
|
||||
<video controls src="../../assets/assets_week_2/blender/droneRenderWhackyRotors.mp4" title="Title"></video>
|
||||
<video controls src="../../assets/assets_week_2/blender/droneRenderWhackyRotors.mp4" title="Title" type="video/mp4"></video>
|
||||
|
||||
|
||||
##### Quirks of the animation timeline
|
||||
@@ -271,9 +271,14 @@ After setting all your settings you can go to the top menu and press `render` an
|
||||

|
||||
|
||||
#### Result:
|
||||
<video controls src="../../assets/assets_week_2/blender/droneRender.mp4" title="Title"></video>
|
||||
<video controls src="../../assets/assets_week_2/blender/droneRender.mp4" title="Title" type="video/mp4"></video>
|
||||
|
||||
##### Issue with adding videos
|
||||
When trying to view videos on the web my firefox says no MIME type.
|
||||

|
||||
|
||||
I fixed it by searching basic video tag documentation. Then I added `type="video/mp4"` to every video tag. Because when pasting in images in markdown vscode forgets to add it.
|
||||
https://www.w3schools.com/tags/tag_video.asp
|
||||
## Sources:
|
||||
* [Exporting blender renders](https://www.youtube.com/watch?v=JPkzmWpZbLw)
|
||||
* [Importing photos and videos into blender](https://www.youtube.com/watch?v=jLGWE335J28)
|
||||
|
BIN
docs/assets/assets_week_2/MIME.jpg
Normal file
BIN
docs/assets/assets_week_2/MIME.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user