Skip to content

SE-1908 Fix for autoadvance issue with hls videos - #202

Merged
pkulkark merged 2 commits into
opencraft-release/ironwood.2from
pooja/fix-autoadvance-issue-with-hls-videos
Dec 16, 2019
Merged

SE-1908 Fix for autoadvance issue with hls videos#202
pkulkark merged 2 commits into
opencraft-release/ironwood.2from
pooja/fix-autoadvance-issue-with-hls-videos

Conversation

@pkulkark

@pkulkark pkulkark commented Dec 15, 2019

Copy link
Copy Markdown
Member

This PR fixes the issue with autoadvance noted on cloudera courses which are HLS videos.

Upstream PR: #22539

Testing Instructions:

  1. Create a course with consecutive units containing videos. Add a m3u8 (HLS) video in the second unit.
  2. Ensure "ENABLE_AUTOADVANCE_VIDEOS" is set to true in lms.env.json file.
  3. Set the enable video auto-advance flag in Advanced settings in studio.
  4. Enroll into the course from lms and start course.
  5. Verify that at the end of the first video, the next unit is loaded automatically and the video starts playing.

Reviewers:

@pomegranited pomegranited left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pkulkark 👍 once nit is fixed

  • I tested this on my devstack as described by the PR description.
  • I read through the code.
  • I checked for accessibility issues
  • Includes documentation N/A, bugfix
  • I made sure any change in configuration variables is reflected in the corresponding
    client's configuration-secure repository.
    N/A

this.hls = new HLS({autoStartLoad: true});
} else {
this.hls = new HLS({autoStartLoad: false});
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please fix the spacing on this change to use 4 spaces instead of tabs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Sorry about that. My vim editor had some weird feature enabled. Corrected it now.

@pkulkark
pkulkark force-pushed the pooja/fix-autoadvance-issue-with-hls-videos branch from 48a7902 to a68d169 Compare December 16, 2019 06:02
@pkulkark
pkulkark merged commit cfd49a4 into opencraft-release/ironwood.2 Dec 16, 2019
@pkulkark
pkulkark deleted the pooja/fix-autoadvance-issue-with-hls-videos branch December 16, 2019 06:39
Kelketek pushed a commit that referenced this pull request Sep 8, 2020
Sustaining/security fixes 5

(cherry picked from commit f87e1d2)
shimulch pushed a commit that referenced this pull request Sep 9, 2020
toxinu pushed a commit that referenced this pull request Sep 18, 2020
Sustaining/security fixes 5

(cherry picked from commit f87e1d2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants