Commit db82d456 by Adam

Merge pull request #5461 from edx/release

Release
parents 183e0410 8323939b
...@@ -33,6 +33,7 @@ class VideoTimesTest(VideoBaseTest): ...@@ -33,6 +33,7 @@ class VideoTimesTest(VideoBaseTest):
self.assertGreaterEqual(int(self.video.position.split(':')[1]), 10) self.assertGreaterEqual(int(self.video.position.split(':')[1]), 10)
@skip("Intermittently fails 1 Oct 2014")
def test_video_end_time_with_default_start_time(self): def test_video_end_time_with_default_start_time(self):
""" """
Scenario: End time works for Youtube video if starts playing from beginning. Scenario: End time works for Youtube video if starts playing from beginning.
......
...@@ -106,7 +106,7 @@ def pdf_index(request, course_id, book_index, chapter=None, page=None): ...@@ -106,7 +106,7 @@ def pdf_index(request, course_id, book_index, chapter=None, page=None):
viewer_params += current_chapter['url'] viewer_params += current_chapter['url']
current_url = current_chapter['url'] current_url = current_chapter['url']
viewer_params += '#zoom=page-fit' viewer_params += '#zoom=page-fit&disableRange=true'
if page is not None: if page is not None:
viewer_params += '&page={}'.format(page) viewer_params += '&page={}'.format(page)
......
...@@ -18,7 +18,7 @@ $(function(){ ...@@ -18,7 +18,7 @@ $(function(){
e.preventDefault(); e.preventDefault();
var url = $(this).attr('rel'); var url = $(this).attr('rel');
$('#viewer-frame').attr({ $('#viewer-frame').attr({
'src': '${request.path}?viewer=true&file=' + url + '#zoom=page-fit', 'src': '${request.path}?viewer=true&file=' + url + '#zoom=page-fit&disableRange=true',
'title': $(this).text() 'title': $(this).text()
}); });
$('#viewer-frame').focus(); $('#viewer-frame').focus();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment