Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

*openedx to Kiwix*

The goal of this project is to create a suite of tools to create [zim](http://www.openzim.org) files required by [kiwix](http://kiwix.org/) reader to make available mooc from any OpenEdx instance offline (without access to Internet).
The goal of this project is to create a suite of tools to create [zim](http://www.openzim.org) files required by [kiwix](http://kiwix.org/) reader to make available Massive Open Online Courses (MOOCs) from any OpenEdx instance offline (without access to Internet).


Currently we only edx.org as been test (fun-mooc.fr doesn't work at this time)
Expand Down Expand Up @@ -41,12 +41,12 @@ pip install openedx2zim
openedx2zim <course_url> <publisher> <email> [--password=<pass>] [--nozim] [--zimpath=<zimpath>]
```

course_url is something like this https://courses.edx.org/courses/[course name/id]/info you can find it from your dashboard and click on the mooc you want to offline
course_url is something like this https://courses.edx.org/courses/[course name/id]/info you can find it from your dashboard and click on the MOOC you want to offline
You should already have enrolled course to make it offline.
Also you should not connect on your browser or with an other run of openedx2zim to the same account while openedx2zim is still running.


You should only use this to mooc with a free licence.
You should only use this to MOOC with a free licence.



Expand Down
2 changes: 1 addition & 1 deletion openedx/templates/vertical.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h1> Discussions </h1>
{% endif %}
{% if elem["type"] == "video" %}
{% if "html_content" not in elem %}
<video class="video-js vjs-default-skin" controls preload="auto" width="480px" height="270px" data-setup='{"autoplay": true, "preload": "true"}' >
Copy link
Collaborator

Choose a reason for hiding this comment

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

No need to go to 16 or 32 but add 0.75 and 1.25 please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, have made the changes.

<video class="video-js vjs-default-skin" controls preload="auto" width="480px" height="270px" data-setup='{"autoplay": true, "preload": "true", "playbackRates": [0.5, 0.75, 1, 1.25, 1.5, 2, 4, 8]}' >
<source src="{{ elem["folder_id"] }}/video.webm" type="video/webm" />
{% for language in elem["transcripts_file"] %}
<track kind="subtitles" src="{{ language["file"] }}" srclang="{{ language["code"] }}" label="{{ language["code"] }}" />
Expand Down