Start of multimedia additions

This commit is contained in:
David Botton 2021-01-24 17:32:06 -05:00
parent 0d95c57aa6
commit f5c95ee2fa
7 changed files with 175 additions and 32 deletions

17
tutorial/15-tutorial.lisp Normal file
View file

@ -0,0 +1,17 @@
(defpackage #:clog-user
(:use #:cl #:clog)
(:export start-tutorial))
(in-package :clog-user)
(defun on-new-window (body)
(create-video body :source "https://www.w3schools.com/html/mov_bbb.mp4")
(create-audio body :source "https://www.w3schools.com/html/horse.ogg")
(run body))
(defun start-tutorial ()
"Start turtorial."
(initialize #'on-new-window)
(open-browser))