[Initial port to ucw-core clinton@unknownlamer.org**20081203064010] { hunk ./src/flowplayer.lisp 12 -(defcomponent flowplayer-component () - ((ucw:dom-id :initform (js:gen-js-name-string :prefix "flowplayer")) - (auto-play :initarg :auto-play :accessor auto-play-p :initform nil) +(defcomponent flowplayer-component (html-block-element-mixin) + ((auto-play :initarg :auto-play :accessor auto-play-p :initform nil) hunk ./src/flowplayer.lisp 30 - (playlist :initarg :playlist :accessor playlist :initform nil))) - + (playlist :initarg :playlist :accessor playlist :initform nil)) + (:default-initargs :dom-id (js:gen-js-name-string :prefix "flowplayer"))) hunk ./src/flowplayer.lisp 34 - (<:div :id (slot-value self 'dom-id) + (<:div :id (html-element.dom-id self) hunk ./src/flowplayer.lisp 40 - :data (action-href-body (:with-call/cc t - :invocation-isolated nil) - (call-as-window 'fallback-playlist :playlist (playlist self))) + :data (action-href + (register-action (:with-call/cc t) + (call-as-window 'fallback-playlist :playlist (playlist self)))) hunk ./src/flowplayer.lisp 88 - `(.write ,player-var ,(slot-value self 'dom-id))))) + `(.write ,player-var ,(html-element.dom-id self))))) hunk ./src/flowplayer.lisp 106 - - +#|(defentry-point "^(test.ucw)$" (:application (get-golf-application :frontend) + :class regexp-dispatcher) + () + (call 'golf-window + :body (make-instance 'flowplayer-component + :video-height 240 + :player-width 320 + :playlist '((:url "/audio.ucw?file=/tmp/movie.flv") + (:url "/audio.ucw?file=/music/josh/2000-Porcupine%20Tree%20-%20Lightbulb%20Sun/04%20Shesmovedon.mp3" :name "Shesmovedon") + (:url "/audio.ucw?file=/music/bittorrent/MDB/My%20Dying%20Bride%20-%202006%20-%20A%20Line%20of%20Deathless%20Kings/01%20-%20To%20Remain%20Tombless.mp3" :name "To Remain Tombless"))))) hunk ./src/flowplayer.lisp 117 +|# hunk ./src/packages.lisp 2 - (:use :common-lisp :ucw :ucw-compat) + (:use :common-lisp :ucw-core :ucw-standard) hunk ./src/packages.lisp 63 - (:use :common-lisp :ucw :ucw-compat :golgonooza :golgonooza-db + (:use :common-lisp :ucw-core :ucw-standard :ucw-forms :golgonooza :golgonooza-db hunk ./src/packages.lisp 131 - (:use :common-lisp :golf-config :golf-web :golf-db :golf-util :ucw :ucw-compat) + (:use :common-lisp :golf-config :golf-web :golf-db :golf-util + :ucw-core :ucw-standard) hunk ./src/packages.lisp 142 - - hunk ./src/query-list-chooser.lisp 45 - (