Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lamdav/lectry
A lecture tool to display Youtube videos with questions
https://github.com/lamdav/lectry
education hackathon youtube
Last synced: 25 days ago
JSON representation
A lecture tool to display Youtube videos with questions
- Host: GitHub
- URL: https://github.com/lamdav/lectry
- Owner: lamdav
- Created: 2016-07-31T05:10:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-31T19:08:18.000Z (over 8 years ago)
- Last Synced: 2025-01-11T08:56:30.880Z (29 days ago)
- Topics: education, hackathon, youtube
- Language: JavaScript
- Homepage: https://lectry.herokuapp.com/#/
- Size: 1.95 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lectry
**Lect**ure **R**eact **Y**outube is a tool to couple lecture questions with a lecture video hosted on Youtube.
This won 3rd place at the Xtern 2016 Hackathon.
[Demo](https://lectry.herokuapp.com/#/)# How to Format Questions:
```javascript
{
type: "multiple choice", // format of the question
question: "What is a good example of a function?", // question text
qid: 1, // a unique identifier for the question
answers: [
"Only adding 1 + 1",
"Returning 1 when called",
"Adding some numbers 'a' and 'b'",
"Functions are useless"
], // options for a particular question
time: 43 // time in seconds that the quesiton will appear
}
```
Questions are formatted are expected to come in as an array of objects shown above. Currently supported is multiple choice; however, adding more question types is as easy as adding a case statement to [QuestionPanel](https://github.com/lamdaV/lectry/blob/master/src/components/QuestionPanel.jsx) and create the appropriate component (see [MultiQuestion](https://github.com/lamdaV/lectry/blob/master/src/components/MultiQuestion.jsx) for an example).# Known Bugs:
React Keys, despite using a node package to uniquely generate keys, still warns that keys are potentially unique.