-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved recording quality, added more controls to test
- Loading branch information
1 parent
ed04d8c
commit 6815466
Showing
2 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,31 @@ | ||
<canvas> | ||
<include href="videosnap.lzx"/> | ||
<simplelayout spacing="4"/> | ||
|
||
<class name="labelEdit" layout="axis:y"> | ||
<attribute name="label" value="" type="string"/> | ||
<attribute name="text" value="" type="string"/> | ||
<text text="${parent.label}"/> | ||
<edittext text="${parent.text}"> | ||
<handler name="ontext"> | ||
parent.setAttribute('text', this.text); | ||
</handler> | ||
</edittext> | ||
</class> | ||
|
||
|
||
<simplelayout spacing="10"/> | ||
<constantlayout axis="x" value="20"/> | ||
|
||
|
||
|
||
<text><![CDATA[<videosnap id="gRecorder" x="20"/>]]></text> | ||
<videosnap id="gRecorder" x="20"/> | ||
<videosnap id="gRecorder" streamname="${gStreamName.text}"/> | ||
<labelEdit id="gStreamName" | ||
label="Stream name: (file will be called name.flv)" | ||
text="file1"/> | ||
<button onclick="gRecorder.setAttribute('mode', 'record')">Record Again</button> | ||
<view> | ||
|
||
|
||
</view> | ||
</canvas> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters