forked from ftde0/yt2009
-
Notifications
You must be signed in to change notification settings - Fork 0
/
embedded-player.html
141 lines (128 loc) · 3.22 KB
/
embedded-player.html
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>yt2009 embed</title>
<style>
body {
overflow: hidden;
}
.html5_video {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
background-color: black;
cursor: pointer;
}
.timer {
top: -6px !important;
}
.hid {
display: none;
}
</style>
<!--yt2009_style_hq_button-->
<link rel="stylesheet" href="/assets/site-assets/html5-player.css">
<style>
/*
transparent hd/hq
*/
.video_controls .hq {
background-position: 0px -48px !important;
}
.video_controls .hq:hover,
.video_controls .hq.enabled {
background-position: -31px -48px !important;
}
.video_controls .hd {
background-position: -62px -48px !important;
}
.video_controls .hd:hover,
.video_controls .hd.enabled {
background-position: -93px -48px !important;
}
</style>
<style>
/*
=======
css wygenerowany na podstawie parametrów color1 i color2.
=======
*/
/*yt2009_embed_css
embed_css_end_mark*/
</style>
</head>
<body style="font: 12px Arial, sans-serif;background: black;">
<div class="embed-container">
<video class="html5_video">
mp4_files
</video>
<div class="volume_popout">
<span class="volume_head"></span>
</div>
<div class="player_additions_popout">
<span class="annotations none"></span>
<span class="cc none">
<div class="triangle-container">
<span class="triangle"></span>
</div>
</span>
<span class="captions_popup" style="display: none;">
<div class="captions_popup_container">
<h2>Caption Actions</h2>
<h2>Caption Selection</h2>
<ul class="captions_selection">
</ul>
</div>
</span>
</div>
<div class="video_controls">
<span class="play_btn"></span>
<span class="pause_btn" style="display: none;"></span>
<div class="progress_container">
<span class="seek"></span>
<span class="loaded"></span>
<span class="elapsed">
<span class="seek_btn"></span>
</span>
</div>
<p class="timer">0:00 / 0:00</p>
<div class="volume_container">
<span class="volume_button"></span>
</div>
<!--yt2009_hq_btn-->
<span class="fullscreen"></span>
<span class="player_additions"></span>
<span class="flashing-btn pause hid"
style="opacity: 0.7;width: 0px;height: 0px;"
></span>
<span class="flashing-btn play hid"
style="opacity: 0.7;width: 0px;height: 0px;"
></span>
</div>
<span class="html5-loading hid"></span>
<span class="seek_time hid"><p class="seek_time_text">0:00</p></span>
<div class="endscreen hid">
<div class="button-replay yt-center" style="margin-top: 150px;cursor: pointer;" onclick="videoReplay();">
<img src="/player-imgs/replay.png"/>
<h2>Replay</h2>
</div>
</div>
<span class="embed-play-btn" style="display: block;" onclick="video.play();"></span>
<style class="player_auto_css"></style>
</div>
<script src="/assets/site-assets/html5-player.js"></script>
<script>
initPlayer(document, true)
//yt2009-no-controls-fade
//yt2009-annotation-redirect
//yt2009-exp-hq-btn
//yt2009-autoadditions
</script>
<!--autoplay_hook-->
<!--related_hook-->
</body>
</html>