mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 10:40:45 -08:00
Start of multimedia additions
This commit is contained in:
parent
0d95c57aa6
commit
f5c95ee2fa
7 changed files with 175 additions and 32 deletions
17
tutorial/15-tutorial.lisp
Normal file
17
tutorial/15-tutorial.lisp
Normal 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))
|
||||
Loading…
Add table
Add a link
Reference in a new issue