|
|
@@ -5,6 +5,9 @@
|
|
5
|
5
|
<div class='row p-2'>
|
|
6
|
6
|
<input x-model="search" placeholder="Search..." class='form-control'>
|
|
7
|
7
|
</div>
|
|
|
8
|
+ <video x-init="vdo($el)" class="video-js vjs-default-skin m-auto" controls preload autoplay muted>
|
|
|
9
|
+ <source src="./video/cctv.m3u8" type="application/x-mpegURL">
|
|
|
10
|
+ </video>
|
|
8
|
11
|
<div class='row'>
|
|
9
|
12
|
<template x-for="item in filteredItems" :key="item">
|
|
10
|
13
|
<div class='col-md-6 mb-2 text-center'>
|
|
|
@@ -12,10 +15,9 @@
|
|
12
|
15
|
<img src="http://localhost:9099/video_feed/0/" width="480">
|
|
13
|
16
|
|
|
14
|
17
|
</template>
|
|
15
|
|
- <template x-if="item != '1001'">
|
|
16
|
|
- <video x-init="vdo($el)" class="video-js vjs-default-skin m-auto" controls preload autoplay muted>
|
|
17
|
|
- <source src="./video/cctv.m3u8" type="application/x-mpegURL">
|
|
18
|
|
- </video>
|
|
|
18
|
+ <template x-if="item == '3001'">
|
|
|
19
|
+ <img src="http://localhost:9024/video_feed/0/" width="480">
|
|
|
20
|
+
|
|
19
|
21
|
</template>
|
|
20
|
22
|
<p>
|
|
21
|
23
|
<strong x-text='item'></strong></p>
|