README.md in slide_hero-0.0.10 vs README.md in slide_hero-0.0.11
- old
+ new
@@ -284,14 +284,14 @@
**media**
presentation "My Presentation" do
slide "A slide with video" do
- media "video.mp4", type: video
+ media "video.mp4", type: :video
end
slide "A slide with video" do
- media "audio.mp3", type: audio
+ media "audio.mp3", type: :audio
end
end
`#media` must be nested in a slide. This will create an auto playing video or audio element on the slide. Files must be in the audio or video directory.