-
Notifications
You must be signed in to change notification settings - Fork 0
/
playing.js
124 lines (102 loc) · 6.3 KB
/
playing.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// alert("gbcviwh")
let data=[
{image: "https://akamaividz2.zee5.com/image/upload/w_223,h_125,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-1-6z558413/list/000002590f3568c97ec84674baa59560a79e649f.jpg",
name:"Meet Ahlawat Meets Taj"},
{image: "https://akamaividz2.zee5.com/image/upload/w_223,h_125,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-1-6z558416/list/000001398fcdd5b60184456b91aa5ce1da579a0b.jpg",
name:"Kundali Bhagya"},
{image: "https://akamaividz2.zee5.com/image/upload/w_223,h_125,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-1-6z558414/list/000002402d489938910741fe9375f0b6d19ed51b.jpg",
name:"Prithvi Parises Nagre"},
{image: "https://akamaividz2.zee5.com/image/upload/w_223,h_125,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-1-6z563562/list/00000056870bbbe2158a4411a5b5f7310259713f.jpg",
name:"Tej Hurts Manushi"},
{image: "https://akamaividz2.zee5.com/image/upload/w_223,h_125,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-1-6z563564/list/0000023570c3b0d783124ede8b1e5447784f3eb7.jpg",
name:"Mithai"},
{image: "https://akamaividz2.zee5.com/image/upload/w_223,h_125,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-1-6z563560/list/00000261ef1a77c83a534ce28f6ea20809911421.jpg",
name: "Bhagya"
},
// {image: "https://akamaividz2.zee5.com/image/upload/w_223,h_125,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-1-6z563561/list/00000228a2516bc6b1224985993beb2a02d39fab.jpg",
// },
// {image: "https://akamaividz2.zee5.com/image/upload/w_223,h_125,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-1-6z563563/list/000000571d8ffeda51f442539d65c513677ffc64.jpg",
// },
// {image: ""},
]
let data1=[
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-366/portrait/1920x770a57f772f1a284053920cd5564003566a.jpg",
show: "Kundali Bhagya"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-3510/portrait/1920x770f47bf524ca854441b9cfbba604580c7c.jpg",
show: "Meet"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-127/portrait/1920x770a12951f4563b4a23917d8a2614a3e85c.jpg",
show: "Kumkum Bhagya"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-4z525220/portrait/1920x7708ed90198296a454380179e07db049cae.jpg",
show: "Tere bina Jiya Jaye na"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-3392/portrait/1920x770ad86350fde054429bb6b153de3f656f0.jpg",
show: "Bhagya Lakshmi"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-4z546884/portrait/1920x770f6d80511ce6c43f196aedc4051ae5dd0.jpg",
show: "Iss Mon Se Jaate Hain"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-4z587441/portrait/1920x77022b055b1e7bf495a8bdcdaa7692d3f7c.jpg",
show: "Dance India Dance Lil Masters Season 5"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-3522/portrait/1920x7701c721594b9aa4db5b56195b2ff9ef084.jpg",
show: "Rishton Ka Manjha"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-4z52149/portrait/1920x770d41a421d3a7a4687b1d5eb7e813ef254.jpg",
show: "Aggar Tum Na Hote"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-4z520450/portrait/1920x77014f54a35087b42f28b13345ca0846ff6.jpg",
show: "Kashibai Bajirao Ballal"
},
{imgurl: "https://akamaividz2.zee5.com/image/upload/w_195,h_293,c_scale,f_webp,q_auto:eco,dpr_2.0/resources/0-6-4z560749/portrait/1920x770a7b9fb06e71842a896b3b9a57db75dd5.jpg",
show: "Swarna Swar Bharat"
},
// {imgurl: ""},
]
data.filter(function (ele){
let box= document.createElement("div")
box.setAttribute("class", "t")
let img= document.createElement("img");
img.src= ele.image
img.setAttribute("class", "image")
// let shw= document.createElement("p");
// shw.innerText= ele.name
// shw.setAttribute("class","showtitle")
// shw.style.color= "white"
let rowbtn= document.createElement("div")
rowbtn.setAttribute("class", "rowwatch1")
let name= document.createElement("p")
name.innerText= ele.name
name.setAttribute("class", "showname1")
let Watchbtn= document.createElement("div")
Watchbtn.innerHTML="Watch"
Watchbtn.setAttribute("class", "watchbtn1")
rowbtn.append(name,Watchbtn)
box.append(img,rowbtn)
document.querySelector(".top").append(box)
})
// under videos row----------------------->
data1.map(function(ele){
let box= document.createElement("div")
box.setAttribute("class", "box1")
let image= document.createElement("img")
image.src= ele.imgurl
image.setAttribute("class", "row2img")
let rowbtn= document.createElement("div")
rowbtn.setAttribute("class", "rowwatch")
let showname= document.createElement("p")
showname.innerText= ele.show
showname.setAttribute("class", "shownames")
let Watchbtn= document.createElement("div")
Watchbtn.innerText=" Watch"
Watchbtn.setAttribute("class", "watchbtn")
rowbtn.append(showname,Watchbtn)
box.append(image,rowbtn)
document.querySelector(".row3").append(box)
// box.addEventListener("click", backfunc)
// function backfunc(){
// window.location.href= "back.html"
// }
})