Skip to content

Commit 03606ae

Browse files
committed
fixed readme and example folder
1 parent 69a5be2 commit 03606ae

File tree

14 files changed

+133
-85
lines changed

14 files changed

+133
-85
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ var ckf = new CodeKeyframes({
2828

2929
Make sure you click the waveform before using keyboard controls. This choice was to avoid adding event listeners to the entire page, to prevent overlap with any other controls that you might use on the page.
3030

31-
`Left & Right` : Move playhead
32-
`Shift + Left or Right ` : Nudge playhead
33-
`Up & Down` : Zoom waveform
34-
`Space` : Play / Pause
35-
`Enter` : Add keyframe
31+
`Left & Right` : Move playhead<br>
32+
`Shift + Left or Right ` : Nudge playhead<br>
33+
`Up & Down` : Zoom waveform<br>
34+
`Space` : Play / Pause<br>
35+
`Enter` : Add keyframe<br>
3636
`Page Up & Page Down` : Jump between keyframes
3737

3838
## Acknowledgements

dist/index.html

Lines changed: 0 additions & 44 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

dist/main.js renamed to example/codeKeyframes.js

Lines changed: 3 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/codeKeyframes.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

example/index.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<html>
2+
3+
<head>
4+
<title>Code Keyframes Example</title>
5+
<link rel="stylesheet" href="codeKeyframes.css">
6+
</head>
7+
8+
<body>
9+
10+
<div id="example"></div>
11+
12+
<script src='codeKeyframes.js'></script>
13+
14+
<script>
15+
var ckf = new CodeKeyframes({
16+
audioPath: 'audio/KIYOKO.mp3',
17+
editorOpen: true,
18+
waveColor: '#3AEAD2',
19+
progressColor: '#0c9fa7',
20+
bgColor: '#222',
21+
keyframes: [] // paste in after exporting keyframes
22+
})
23+
</script>
24+
25+
</body>
26+
</html>

example/style.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)