Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
0b73f0a5
Commit
0b73f0a5
authored
Feb 13, 2013
by
Vasyl Nakvasiuk
Committed by
Valera Rozuvan
Feb 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary code
parent
de94855b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
common/lib/xmodule/xmodule/videoalpha_module.py
+0
-11
No files found.
common/lib/xmodule/xmodule/videoalpha_module.py
View file @
0b73f0a5
...
...
@@ -111,16 +111,6 @@ class VideoAlphaModule(XModule):
return
json
.
dumps
({
'success'
:
True
})
raise
Http404
()
def
get_progress
(
self
):
''' TODO (vshnayder): Get and save duration of youtube video, then return
fraction watched.
(Be careful to notice when video link changes and update)
For now, we have no way of knowing if the video has even been watched, so
just return None.
'''
return
None
def
get_instance_state
(
self
):
#log.debug(u"STATE POSITION {0}".format(self.position))
return
json
.
dumps
({
'position'
:
self
.
position
})
...
...
@@ -139,7 +129,6 @@ class VideoAlphaModule(XModule):
return
self
.
system
.
render_template
(
'videoalpha.html'
,
{
'streams'
:
self
.
videoalpha_list
(),
'id'
:
self
.
location
.
html_id
(),
'position'
:
self
.
position
,
'sub'
:
self
.
sub
,
'sources'
:
self
.
sources
,
'track'
:
self
.
track
,
...
...
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