Hi fellow adventurers,
I'm running into issues with the Video element, and I don't know how
much of it is me misunderstanding the documentation and how much of it
is buggy shoes. I'm on Leopard 10.5.5 Intel running shoes r1057 (I
downloaded, not compiled).
First, this never plays my mp3:
Shoes.app do
@v = video "/test1.mp3"
@v.play
end
However, this does:
Shoes.app do
@v = video "/test1.mp3"
timer(0.01) { @v.play }
end
Does the event loop need to process before a new Video element can be
played? I saw nothing in the docs.
Also, is there no way to play more than one video/audio file at the
same time? Nothing in to docs says you can, but nothing says you
cannot, either. In any case, this never plays my second file:
Shoes.app do
@v = video "/test1.mp3"
timer(1) { @v.play }
@v2 = video "/test2.mp3"
timer(2) { @v2.play }
end
In my quest to learn shoes I planned to create a small shoes game with
moody music and sound effects, but I'm stumbling here.
Marginally related, is there a bug tracker for shoes? I can't find any
mention of one, or I would've just posted this there. Thanks all.
-- Brian