Tutorial 4 - Canvas Element
Tutorial will teach you to give gradient effect to object.
Click here to download the source code and document which will explain the usage of each methods and their parameters.
Technical Skill: C, C++, VB 6.0, Classic ASP, ASP.NET, XML, XSLT, Javascript, HTML, MS-SQL 2008,SQL, PL-SQL and T-SQL, MS-ACCESS, Core Java, Android Development, Eclipse, Mobile Web development, HTML5, CSS3, JQuery,
Management Skill: Requirement Gathering, Analysis of requirement, Estimation, Scope & Change Management, Risk Management, Project Planning, Monitoring, Reporting and communication.
Process Knowledge: Waterfall, Modified waterfall, SCRUM
Attribute
|
Value
|
Description
|
autoplay
|
Specifies that the audio will start playing as soon as it
is ready
|
|
controls
|
Specifies that audio controls should be displayed (such as
a play/pause button etc).
|
|
loop
|
Specifies that the audio will start again, every time it
is finished
|
|
auto
metadata none |
Specifies if and how the user thinks the audio should be
loaded when the page loads
|
|
URL
|
Specifies the URL of the audio file
|
Method Name
|
Purpose
|
play()
|
Will play the video
|
pause()
|
Will pause the video
|
load()
|
Load video file
|
canPlayType
|
Property Name
|
Purpose
|
currentSrc
|
Will give the path of video file.
|
currentTime
|
Will give time of current video
|
videoWidth
|
Will give actual width of video
|
videoHeight
|
Will give actual height of video
|
duration
|
Will give time duration of whole video
|
ended
|
Will give false while video is in running mode and when ends then
will give true
|
Error
|
During video playing, error property holds the error value while
error occurs.
|
Paused
|
Will return true while video is in pause mode
|
Muted
|
Will return true while video’s audio is at mute mode
|
seeking
|
|
Volume
|
Returns volumn level. If it returns 0 then lowest volumn and 1
returns highest volumn
|
Height
|
Height of video tag
|
Width
|
Width of video
|