mirror of
https://github.com/frappe/lms.git
synced 2026-04-19 22:52:29 +03:00
Merge pull request #2215 from pateljannat/issues-212
chore: updated demo data with latest explainer videos
This commit is contained in:
@@ -169,10 +169,10 @@ def add_lesson_to_chapter(chapter, lesson):
|
||||
|
||||
|
||||
def create_intro_lesson_1(course):
|
||||
title = "What is a Learning Management System?"
|
||||
title = "What are Learning Management Systems?"
|
||||
chapter = get_chapter(course, "Introduction")
|
||||
content = """
|
||||
{"time":1772449622100,"blocks":[{"id":"vYTdcXYVgI","type":"embed","data":{"service":"youtube","source":"https://www.youtube.com/watch?v=-Ulzqjj49lk","embed":"-Ulzqjj49lk","caption":""}}],"version":"2.29.0"}
|
||||
{"time":1772449622100,"blocks":[{"id":"vYTdcXYVgI","type":"embed","data":{"service":"youtube","source":"https://www.youtube.com/watch?v=QhA4h6qD4wY","embed":"QhA4h6qD4wY","caption":""}}],"version":"2.29.0"}
|
||||
"""
|
||||
create_lesson(course, chapter, title, content)
|
||||
|
||||
@@ -181,7 +181,7 @@ def create_intro_lesson_2(course):
|
||||
title = "What is Frappe Learning?"
|
||||
chapter = get_chapter(course, "Introduction")
|
||||
content = """
|
||||
{"time":1772449622100,"blocks":[{"id":"vYTdcXYVgI","type":"embed","data":{"service":"youtube","source":"https://www.youtube.com/watch?v=VIt_bsbBjLI","embed":"VIt_bsbBjLI","caption":""}}],"version":"2.29.0"}
|
||||
{"time":1772449622100,"blocks":[{"id":"vYTdcXYVgI","type":"embed","data":{"service":"youtube","source":"https://www.youtube.com/watch?v=gFXVCWmVQvQ","embed":"gFXVCWmVQvQ","caption":""}}],"version":"2.29.0"}
|
||||
"""
|
||||
create_lesson(course, chapter, title, content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user