Adobe Edge code for video timeline sync
- or -
Post a project like this$$
- Posted:
- Proposals: 0
- Remote
- #689838
- Expired
Description
Experience Level: Intermediate
General information for the website: Adobe Edge coding required
Description of requirements/features: I am looking for an Adobe Edge coder. I want to get the position of an html5 video timeline, and parse this to another videos timeline once a key has been pressed.
I have two html5 (mp4) videos on the stage. One is called black the other is called white.
I have this code on the stage for keydown toggle so that it hides and mutes one video and shows the other video which is working great. Now i need to be able to sync the two videos once the spacebar is pressed. They don't need to keep sync, they can drift, as you will only see one video at a time, so the synchronisation of the videos timelines only needs to happen on pressing the spacebar.
Any advice would be great. Thanks in advance. Please specify a cost for helping me solve this.
// code to be run when the user presses a key. The variable “e.which” tells you the key code of the key that was pressed, e.g. 32 = spacebar
if (e.which == 32) {
if (sym.$("black").is(":visible")) {
sym.$("black").hide();
sym.$("black")[0].muted = true;
sym.$("white").show();
sym.$("white")[0].muted = false;
sym.$("Stage").css("background-color" , "#ffffff");
} else {
sym.$("black").show();
sym.$("black")[0].muted = false;
sym.$("white").hide();
sym.$("white")[0].muted = true;
sym.$("Stage").css("background-color" , "#000000");
}
}
Specific technologies required: Javascript, Adobe Edge
Extra notes:
Description of requirements/features: I am looking for an Adobe Edge coder. I want to get the position of an html5 video timeline, and parse this to another videos timeline once a key has been pressed.
I have two html5 (mp4) videos on the stage. One is called black the other is called white.
I have this code on the stage for keydown toggle so that it hides and mutes one video and shows the other video which is working great. Now i need to be able to sync the two videos once the spacebar is pressed. They don't need to keep sync, they can drift, as you will only see one video at a time, so the synchronisation of the videos timelines only needs to happen on pressing the spacebar.
Any advice would be great. Thanks in advance. Please specify a cost for helping me solve this.
// code to be run when the user presses a key. The variable “e.which” tells you the key code of the key that was pressed, e.g. 32 = spacebar
if (e.which == 32) {
if (sym.$("black").is(":visible")) {
sym.$("black").hide();
sym.$("black")[0].muted = true;
sym.$("white").show();
sym.$("white")[0].muted = false;
sym.$("Stage").css("background-color" , "#ffffff");
} else {
sym.$("black").show();
sym.$("black")[0].muted = false;
sym.$("white").hide();
sym.$("white")[0].muted = true;
sym.$("Stage").css("background-color" , "#000000");
}
}
Specific technologies required: Javascript, Adobe Edge
Extra notes:
Scott B.
40% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
11%
Last project
24 Jul 2014
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies