diff --git a/frontend-tools/video-js/src/components/chapter/ChapterList.jsx b/frontend-tools/video-js/src/components/chapter/ChapterList.jsx index 51d1c2ed..ee06f37a 100644 --- a/frontend-tools/video-js/src/components/chapter/ChapterList.jsx +++ b/frontend-tools/video-js/src/components/chapter/ChapterList.jsx @@ -1,156 +1,207 @@ import React from 'react'; function ChapterList() { - const playlistData = [ - { - id: 1, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: true - }, - { - id: 2, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: false - }, - { - id: 3, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: false - }, - { - id: 4, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: false - }, - { - id: 5, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: false - }, - { - id: 6, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: false - } - , - { - id: 7, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: false - } - , - { - id: 8, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: false - } - , - { - id: 9, - title: "Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge", - channel: "Physics Wallah - Alakh Pandey", - duration: "40:13", - thumbnail: "https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw", - selected: false - } + const playlistData = [ + { + id: 1, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: true, + }, + { + id: 2, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: false, + }, + { + id: 3, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: false, + }, + { + id: 4, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: false, + }, + { + id: 5, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: false, + }, + { + id: 6, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: false, + }, + { + id: 7, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: false, + }, + { + id: 8, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: false, + }, + { + id: 9, + title: 'Class 12 Chapter 1 || Electric Charges and Fields 01 || Quantisation and Conservation of Charge', + channel: 'Physics Wallah - Alakh Pandey', + duration: '40:13', + thumbnail: + 'https://i.ytimg.com/vi/m5VbK66a254/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLCt2rMJW2jZAYkcDi9wLQOGVkLSTw', + selected: false, + }, + ]; -]; - - - return ( -
Physics Wallah - Alakh Pandey 1 / 17
+ return ( ++ Physics Wallah - Alakh Pandey 1 / 17 +
+