forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvideoClip.lcdoc
More file actions
72 lines (45 loc) · 1.83 KB
/
videoClip.lcdoc
File metadata and controls
72 lines (45 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Name: videoClip
Synonyms: vc
Type: object
Syntax: videoClip
Summary:
An <object type> that contains movie data.
Introduced: 1.0
Deprecated: 8.1
OS: mac, windows, linux
Platforms: desktop
Example:
play videoClip "Spartacus"
Example:
delete videoClip ID 2485
Description:
Use the <videoClip> <object type> to display a movie that is stored in
the <stack>, rather than in another file.
Unlike a player, a video clip contains the movie that it displays. This
increases the memory required by your stack, because the movie data is
loaded into memory whenever the stack file is open. However, it
prevents the movie from being accidentally separated from the stack file
and lost.
Video clips can be in QuickTime, AVI, or MPEG format.
A video clip is contained in a stack. Video clips cannot contain other
objects. (A video clip is not a control, since it has no user interface
and cannot be owned by a card.)
To play a <videoClip>, use the syntax
play videoClip <filename_of_videoclip>
To pause a videoClip, use the syntax
play pause videoClip <filename_of_videoclip>
To stop a videoClip, use the syntax
play stop videoClip <filename_of_videoclip>
Changes:
The use of <QuickTime> was deprecated in version 8.1 of LiveCode with
new defaults for <dontUseQT> and <dontUseQTEffects> as true on all
systems apart from pre OS X 10.8. The Windows build of LiveCode no
longer supports any <QuickTime> features and setting the <dontUseQT>
and <dontUseQTEffects> will have no effect. Additionally <QuickTime> does
not include 64 bit support and therefore can not be supported on OS X 64
bit builds of LiveCode.
Desktop development should utilize the <player> control for
future video playback support.
References: object type (glossary), templateVideoClip (keyword),
stack (object), videoClipPlayer (property), player (object)
Tags: multimedia