Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-officemix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
xblock-officemix
Commits
fc09b3a9
Commit
fc09b3a9
authored
Nov 17, 2015
by
Kurt Berglund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update event namings based on edX standard formats
parent
50caddc5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
officemix/static/js/officemix_view.js
+4
-4
No files found.
officemix/static/js/officemix_view.js
View file @
fc09b3a9
...
@@ -8,7 +8,7 @@ function OfficeMixBlock(runtime, element) {
...
@@ -8,7 +8,7 @@ function OfficeMixBlock(runtime, element) {
player
.
on
(
'ready'
,
function
()
{
player
.
on
(
'ready'
,
function
()
{
player
.
getDuration
(
function
(
duration
)
{
player
.
getDuration
(
function
(
duration
)
{
var
data
=
{
var
data
=
{
'event_type'
:
'
xblock.office
mix.loaded'
,
'event_type'
:
'
microsoft.office.
mix.loaded'
,
url
:
mixUrl
,
url
:
mixUrl
,
duration
:
duration
duration
:
duration
};
};
...
@@ -19,7 +19,7 @@ function OfficeMixBlock(runtime, element) {
...
@@ -19,7 +19,7 @@ function OfficeMixBlock(runtime, element) {
player
.
on
(
'play'
,
function
()
{
player
.
on
(
'play'
,
function
()
{
player
.
getCurrentTime
(
function
(
value
)
{
player
.
getCurrentTime
(
function
(
value
)
{
var
data
=
{
var
data
=
{
'event_type'
:
'
xblock.office
mix.played'
,
'event_type'
:
'
microsoft.office.
mix.played'
,
url
:
mixUrl
,
url
:
mixUrl
,
time
:
value
time
:
value
};
};
...
@@ -31,7 +31,7 @@ function OfficeMixBlock(runtime, element) {
...
@@ -31,7 +31,7 @@ function OfficeMixBlock(runtime, element) {
player
.
on
(
'pause'
,
function
()
{
player
.
on
(
'pause'
,
function
()
{
player
.
getCurrentTime
(
function
(
value
)
{
player
.
getCurrentTime
(
function
(
value
)
{
var
data
=
{
var
data
=
{
'event_type'
:
'
xblock.office
mix.paused'
,
'event_type'
:
'
microsoft.office.
mix.paused'
,
url
:
mixUrl
,
url
:
mixUrl
,
time
:
value
time
:
value
};
};
...
@@ -42,7 +42,7 @@ function OfficeMixBlock(runtime, element) {
...
@@ -42,7 +42,7 @@ function OfficeMixBlock(runtime, element) {
player
.
on
(
'ended'
,
function
()
{
player
.
on
(
'ended'
,
function
()
{
var
data
=
{
var
data
=
{
'event_type'
:
'
xblock.office
mix.stopped'
,
'event_type'
:
'
microsoft.office.
mix.stopped'
,
url
:
mixUrl
url
:
mixUrl
};
};
...
...
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