Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
officejs
Commits
ae076f34
Commit
ae076f34
authored
Aug 01, 2014
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use new indexeddb lib
parent
8dbd2b4a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
137 additions
and
80 deletions
+137
-80
dev/audioplayer_control/control.js
dev/audioplayer_control/control.js
+1
-1
dev/audioplayer_video_control/control.js
dev/audioplayer_video_control/control.js
+2
-2
dev/lib/jio.js
dev/lib/jio.js
+129
-74
src/audioplayer_control/control.js
src/audioplayer_control/control.js
+2
-1
src/audioplayer_video_control/control.js
src/audioplayer_video_control/control.js
+3
-2
No files found.
dev/audioplayer_control/control.js
View file @
ae076f34
...
...
@@ -168,7 +168,7 @@
id
=
list
[
index
].
id
;
}
while
(
g
.
currentId
===
id
);
}
if
(
list
[
index
].
doc
.
format
===
"
video/webm
"
)
{
if
(
list
[
index
].
doc
.
format
===
"
video/webm
"
||
list
[
index
].
doc
.
format
===
"
video/mp4
"
)
{
control
=
"
video_control
"
;
}
return
g
.
displayThisPage
({
...
...
dev/audioplayer_video_control/control.js
View file @
ae076f34
...
...
@@ -3,7 +3,7 @@
Audio, loopEventListener, jQuery, promiseEventListener, Blob*/
/*jslint nomen: true, maxlen:180 */
/* The MediaSource API only supports MPEG-DASH and
* VP8 with keyframed segments currently
(on Chrome 35)
.
* VP8 with keyframed segments currently.
* more info:
*https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
*/
...
...
@@ -61,7 +61,7 @@
id
=
list
[
index
].
id
;
}
while
(
g
.
currentId
===
id
);
}
if
(
list
[
index
].
doc
.
format
===
"
video/webm
"
)
{
if
(
list
[
index
].
doc
.
format
===
"
video/webm
"
||
list
[
index
].
doc
.
format
===
"
video/mp4
"
)
{
control
=
"
video_control
"
;
}
return
g
.
displayThisPage
({
...
...
dev/lib/jio.js
View file @
ae076f34
This diff is collapsed.
Click to expand it.
src/audioplayer_control/control.js
View file @
ae076f34
...
...
@@ -225,7 +225,8 @@
id
=
list
[
index
].
id
;
}
while
(
g
.
currentId
===
id
);
}
if
(
list
[
index
].
doc
.
format
===
"
video/webm
"
)
{
if
(
list
[
index
].
doc
.
format
===
"
video/webm
"
||
list
[
index
].
doc
.
format
===
"
video/mp4
"
)
{
control
=
"
video_control
"
;
}
return
g
.
displayThisPage
({
page
:
control
,
...
...
src/audioplayer_video_control/control.js
View file @
ae076f34
...
...
@@ -5,7 +5,7 @@
/* The MediaSource API only supports MPEG-DASH and
* VP8 with keyframed segments currently
(on Chrome 35)
.
* VP8 with keyframed segments currently.
* more info:
*https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
*/
...
...
@@ -85,7 +85,8 @@
id
=
list
[
index
].
id
;
}
while
(
g
.
currentId
===
id
);
}
if
(
list
[
index
].
doc
.
format
===
"
video/webm
"
)
{
if
(
list
[
index
].
doc
.
format
===
"
video/webm
"
||
list
[
index
].
doc
.
format
===
"
video/mp4
"
)
{
control
=
"
video_control
"
;
}
return
g
.
displayThisPage
({
page
:
control
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment