From 358fcbd3d08c08495ce36635144840e257b1b6b5 Mon Sep 17 00:00:00 2001 From: Pitchaya Boonsarngsuk Date: Fri, 22 Mar 2019 22:13:09 +0000 Subject: [PATCH] Update channel list --- index.js | 90 +++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 69 insertions(+), 21 deletions(-) diff --git a/index.js b/index.js index 978b9be..eb5365a 100644 --- a/index.js +++ b/index.js @@ -1,34 +1,82 @@ const vids = [ { - url: "http://media.w3.org/2010/05/bunny/trailer.mp4", - thumbnail: "images/gitea.png", - name: "Big Buck Bunny", - subtitle: "Short Desc", + url: "https://vdo.mwit.ac.th/live/live1/playlist.m3u8", + thumbnail: "images/Mlive1.png", + name: "CH1", + subtitle: "การประชาสัมพันธ์", }, { - url: "http://media.w3.org/2010/05/sintel/trailer.mp4", - thumbnail: "images/gitea.png", - name: "Sintel", - subtitle: "Test", + url: "https://vdo.mwit.ac.th/live/live2/playlist.m3u8", + thumbnail: "images/Mlive2.png", + name: "CH2", + subtitle: "หอประชุมพระอุบาลีคุณูปมาจารย์", }, { - url: "https://vdo.mwit.ac.th/vod/_definst_/mp4:02_description/2561/05/30-05-61/VOD/30-05-61-AV4.mp4/playlist.m3u8", - thumbnail: "images/gitea.png", - name: "HLS", - subtitle: "Should use hls.js", + url: "https://vdo.mwit.ac.th/live/live3/playlist.m3u8", + thumbnail: "images/Mlive3.png", + name: "CH3", + subtitle: "ห้องประชุม ศ.ดร.ณัฐ ภมรประวัติ", }, { - url: "http://vjs.zencdn.net/v/oceans.mp4", - thumbnail: "images/gitea.png", - name: "DisneyOcean1", - subtitle: "555", + url: "https://vdo.mwit.ac.th/live/live4/playlist.m3u8", + thumbnail: "images/Mlive4.png", + name: "CH4", + subtitle: "ห้องฉายภาพยนตร์สามมิติ", }, { - url: "http://media.w3.org/2010/05/video/movie_300.mp4", - thumbnail: "images/gitea.png", - name: "5min", - subtitle: "Just countdown", - } + url: "https://vdo.mwit.ac.th/live/live5/playlist.m3u8", + thumbnail: "images/Mlive5.png", + name: "CH5", + subtitle: "ห้องประชุม ดร.โกวิท วรพิพัฒน์", + }, + { + url: "https://vdo.mwit.ac.th/live/live6/playlist.m3u8", + thumbnail: "images/Mlive6.png", + name: "CH1_science", + subtitle: "สาระวิทยาศาสตร์1", + }, + { + url: "https://vdo.mwit.ac.th/live/live7/playlist.m3u8", + thumbnail: "images/Mlive7.png", + name: "CH2_science", + subtitle: "สาระวิทยาศาสตร์2", + }, + { + url: "https://vdo.mwit.ac.th/live/live8/playlist.m3u8", + thumbnail: "images/Mlive8.png", + name: "CH_Biology", + subtitle: "สาระน่ารู้...ชีววิทยา", + }, + { + url: "https://vdo.mwit.ac.th/live/live9/playlist.m3u8", + thumbnail: "images/Mlive9.png", + name: "CH_Chemical", + subtitle: "สาระน่ารู้...เคมี", + }, + { + url: "https://vdo.mwit.ac.th/live/live10/playlist.m3u8", + thumbnail: "images/Mlive10.png", + name: "CH_Physics", + subtitle: "สาระน่ารู้...ฟิสิกส์", + }, + { + url: "https://vdo.mwit.ac.th/live/live11/playlist.m3u8", + thumbnail: "images/Mlive11.png", + name: "CH_Math", + subtitle: "สาระน่ารู้...คณิตศาสตร์", + }, + { + url: "https://vdo.mwit.ac.th/live/ch21/playlist.m3u8", + thumbnail: "images/voice tv.jpg", + name: "Free TV CH21", + subtitle: "Voice TV", + }, + { + url: "https://vdo.mwit.ac.th/live/ch23/playlist.m3u8", + thumbnail: "images/Workpoint TV.png", + name: "Free TV CH23", + subtitle: "Workpoint TV", + }, ]; const videoListContainer = document.querySelector('#videoListContainer');