1R"luastring"--(
2-- DO NOT REMOVE THE ABOVE LINE. It is used to load this file as a C++ string.
3-- There is a matching delimiter at the bottom of the file.
4
5--[[
6Copyright (c) 2006-2016 LOVE Development Team
7
8This software is provided 'as-is', without any express or implied
9warranty.  In no event will the authors be held liable for any damages
10arising from the use of this software.
11
12Permission is granted to anyone to use this software for any purpose,
13including commercial applications, and to alter it and redistribute it
14freely, subject to the following restrictions:
15
161. The origin of this software must not be misrepresented; you must not
17claim that you wrote the original software. If you use this software
18in a product, an acknowledgment in the product documentation would be
19appreciated but is not required.
202. Altered source versions must be plainly marked as such, and must not be
21misrepresented as being the original software.
223. This notice may not be removed or altered from any source distribution.
23--]]
24
25local Video_mt = ...
26local Video = Video_mt.__index
27
28function Video:setSource(source)
29	self:_setSource(source)
30	self:getStream():setSync(source)
31end
32
33function Video:play()
34	return self:getStream():play()
35end
36
37function Video:pause()
38	return self:getStream():pause()
39end
40
41function Video:seek(offset)
42	return self:getStream():seek(offset)
43end
44
45function Video:rewind()
46	return self:getStream():rewind()
47end
48
49function Video:tell()
50	return self:getStream():tell()
51end
52
53function Video:isPlaying()
54	return self:getStream():isPlaying()
55end
56
57-- DO NOT REMOVE THE NEXT LINE. It is used to load this file as a C++ string.
58--)luastring"--"
59