-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathVideo.html
More file actions
224 lines (181 loc) · 5.61 KB
/
Video.html
File metadata and controls
224 lines (181 loc) · 5.61 KB
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!DOCTYPE html>
<html lang="en">
<video id="open" autoplay muted height="60" width="100%" class="fill"> <source src="img/tickerstingerdemo.webm" type="video/webm"></video>
<div class="bugleft"> <video id="logoleft" width="240" height="60" loop muted> <source src="img/videologo3d.mp4" type="video/mp4"> </div>
<div class="section-container">
<div class="demo-box">
<!-- DEMO4 HTML STARTS HERE *-->
<!-- *********************** -->
<div class="breaking-news-ticker" id="newsTicker4">
<div class="bn-label" id="clockbox"> <iframe src="https://freesecure.timeanddate.com/clock/i6vgl7mt/n197/fs19/fcfff/tct/pct/ahr/tt0/tw0/ts1/tb4" frameborder="0" frameborder="0" width="130" height="50" allowTransparency="true"></iframe>
</font> </div>
<div class="bn-news">
<ul>
<li><span class="bn-loader-text">Data loading...</span></li>
</ul>
</div>
</div>
<!-- *********************** -->
<!-- DEMO4 HTML END HERE *** -->
</div>
</div>
<head>
<style type="text/css">
.fill {
}
</style>
<body style="-webkit-app-region: drag">
<meta charset="UTF-8">
<title>Cronkite Sports Now Ticker</title>
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed' rel='stylesheet' type='text/css'>
<!--Adding demo page css file -->
<link rel="stylesheet" type="text/css" href="./demo-page-styles.css">
<!--Adding plugin css file -->
<link rel="stylesheet" type="text/css" href="./breaking-news-ticker.css">
</head>
<!-- Adding jquery library. minimum version 1.10.0 -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="./breaking-news-ticker.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($){
$('#newsTicker1').breakingNews();
//$('#newsTicker2').data('breakingNews').next();
$('#newsTicker2').breakingNews({
themeColor: '#2C4380',
effect: 'slide-up',
source: {
type:'rss',
usingApi:'rss2json',
rss2jsonApiKey: 'zu5enwwxwzxyc2ogprt5fmhi6lgdvhizyft9s1g8',
url:'https://feedity.com/azpbs-org/UlJXWlJaWg.rss',
limit:20,
borderWidth: 0,
showingField:'title',
linkEnabled: true,
target:'_blank',
errorMsg: 'RSS Feed not loaded. Please try again.'
}
});
$('#newsTicker3').breakingNews({
themeColor: '#f9a828',
effect: 'slide-left'
});
$('#newsTicker4').breakingNews({
themeColor: '#2C4380',
source: {
type:'rss',
usingApi:'rss2json',
rss2jsonApiKey: 'zu5enwwxwzxyc2ogprt5fmhi6lgdvhizyft9s1g8',
url:'https://politepol.com/feed/80533',
limit:20,
borderWidth: 5,
showingField:'title',
linkEnabled: true,
target:'_blank',
seperator: '<span class="bn-seperator" style="background-image:url(img/cn-logo.png);"></span>',
errorMsg: 'RSS Feed not loaded. Please try again.'
}
});
$('#newsTicker5').breakingNews({
effect: 'typography'
});
$('#newsTicker6').breakingNews({
source: {
type:'json',
url:'https://jsonplaceholder.typicode.com/posts',
limit:20,
showingField:'title',
linkEnabled: false,
target:'_blank',
seperator: '<span class="bn-seperator" style="background-image:url(img/cn-logo.png);"></span>',
errorMsg: 'Json file not loaded. Please check the settings.'
}
});
$('#newsTicker7').breakingNews({
themeColor: '#11cbd7',
background: 'transparent',
borderWidth: 0,
source: {
type:'rss',
usingApi:'YQL',
url:'http://feeds.bbci.co.uk/news/rss.xml',
limit:20,
showingField:'title',
linkEnabled: true,
target:'_blank',
seperator: '<span class="bn-seperator bn-news-dot"></span>',
errorMsg: 'Json file not loaded. Please check the settings.'
}
});
$('#newsTicker8').breakingNews({
height:56,
borderWidth:0,
background: 'url(img/background-pattern-example.png)'
});
$('#newsTicker9').breakingNews({
effect: 'fade',
themeColor: '#ef7b7b'
});
$('#newsTicker10').breakingNews({
effect: 'slide-down',
themeColor: '#2eb872',
height: 50,
fontSize: '18px'
});
$('#newsTicker11').breakingNews({
effect: 'slide-up'
});
$('#newsTicker12').breakingNews({
effect: 'typography',
direction: 'rtl',
themeColor: '#08c299'
});
$('#newsTicker13').breakingNews({
effect: 'slide-right'
});
$('#newsTicker14').breakingNews();
$('#newsTicker15').breakingNews({
position : 'fixed-bottom',
borderWidth: 3,
height: 50,
themeColor: '#ce2525'
});
});
</script>
<br>
<div style="text-align:center">
<button id="start" onclick="playPause();timeFunction()">Launch Ticker</button>
<script>
var stinger = document.getElementById("open");
function playPause() {
if (stinger.paused)
stinger.play();
else
stinger.pause();
}
function timeFunction() {
setTimeout(function(){
document.getElementById("logoleft").play();
}, 5000);
}
</script>
</body>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36251023-1']);
_gaq.push(['_setDomainName', 'jqueryscript.net']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script>
$(document).keypress(function(e){
if (e.which == 13){
$("#start").click();
}
});
</script>
</html>