Compare commits
18
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6db6de8e49 | ||
|
|
e06ce1507b | ||
|
|
3ef630c7cc | ||
|
|
2ba81f8550 | ||
|
|
f3fa2c109a | ||
|
|
52df85716b | ||
|
|
22292e10ed | ||
|
|
9428e1d2ee | ||
|
|
1c587684f3 | ||
|
|
918255be1c | ||
|
|
35a5aa636f | ||
|
|
a930fb7216 | ||
|
|
437e6243e7 | ||
|
|
6008d3175b | ||
|
|
ab7246e123 | ||
|
|
d9627a54c4 | ||
|
|
6c732f90e8 | ||
|
|
1dadbc62af |
No files matched your search
@@ -88,7 +88,7 @@ class Controller extends BaseController
|
|||||||
$this->getDataFromFileAndConvert('laatste_podcasts.json', ['podcasts'], '\Model\Podcast'));
|
$this->getDataFromFileAndConvert('laatste_podcasts.json', ['podcasts'], '\Model\Podcast'));
|
||||||
});
|
});
|
||||||
|
|
||||||
View::share('disableBanners', env('DISABLE_BANNERS', true));
|
View::share('disableBanners', env('DISABLE_BANNERS', false));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function registerView(Request $request, $type, $id)
|
protected function registerView(Request $request, $type, $id)
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ class RadioController extends Controller
|
|||||||
{
|
{
|
||||||
$programs = [];
|
$programs = [];
|
||||||
$now = new \DateTimeImmutable('2 minutes ago');
|
$now = new \DateTimeImmutable('2 minutes ago');
|
||||||
$page = (int)$request->get('pagina', 1);
|
$page = (int)$request->get('pagina', 1);
|
||||||
$apiResult = $this->API('programma/schema/recent?pagina=' . (int)max(1, $page) . '&aantal=12');
|
$apiResult = $this->API('programma/schema/recent?pagina=' . (int)max(1, $page) . '&aantal=12');
|
||||||
foreach($apiResult->schedule as $item) {
|
foreach($apiResult->schedule as $item) {
|
||||||
if(!$item->program->nonstop && !$item->program->rerun) {
|
if(!$item->program->nonstop && !$item->program->rerun) {
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ class StreamController extends Controller
|
|||||||
return view('listen', [
|
return view('listen', [
|
||||||
'source' => self::$STREAM_URL . 'mp3live',
|
'source' => self::$STREAM_URL . 'mp3live',
|
||||||
'title' => 'Luister live',
|
'title' => 'Luister live',
|
||||||
|
'lengte' => 0,
|
||||||
|
'waveform' => null,
|
||||||
'content' => 'de live-uitzending van NH Gooi.',
|
'content' => 'de live-uitzending van NH Gooi.',
|
||||||
'isStream' => true ]);
|
'isStream' => true ]);
|
||||||
}
|
}
|
||||||
@@ -53,6 +55,8 @@ class StreamController extends Controller
|
|||||||
'source' => $this->API_URL . 'podcast/stream/' . $apiResult->url,
|
'source' => $this->API_URL . 'podcast/stream/' . $apiResult->url,
|
||||||
'title' => $podcast->title,
|
'title' => $podcast->title,
|
||||||
'content' => $podcast->title,
|
'content' => $podcast->title,
|
||||||
|
'lengte' => $podcast->duration / 1000,
|
||||||
|
'waveform' => $podcast->waveform,
|
||||||
'isStream' => false,
|
'isStream' => false,
|
||||||
'canDownload' => $this->API_URL . 'podcast/download/' . $apiResult->url ]);
|
'canDownload' => $this->API_URL . 'podcast/download/' . $apiResult->url ]);
|
||||||
}
|
}
|
||||||
@@ -61,6 +65,11 @@ class StreamController extends Controller
|
|||||||
$date = (new \DateTimeImmutable())->setDate($year, $month, $day)->setTime($hour, 0, 0);
|
$date = (new \DateTimeImmutable())->setDate($year, $month, $day)->setTime($hour, 0, 0);
|
||||||
$current = $date->add(\DateInterval::createFromDateString($offset . ' hours'));
|
$current = $date->add(\DateInterval::createFromDateString($offset . ' hours'));
|
||||||
|
|
||||||
|
$programma = $this->API("programma/details/" . $current->Format("Y/m/d/H"));
|
||||||
|
if(!$programma->is_beschikbaar) {
|
||||||
|
return view('listen', ['notAvailable' => true]);
|
||||||
|
}
|
||||||
|
|
||||||
$hours = [];
|
$hours = [];
|
||||||
for($i = 0; $i < $duration; $i++) {
|
for($i = 0; $i < $duration; $i++) {
|
||||||
$other = $date->add(\DateInterval::createFromDateString($i . ' hours'));
|
$other = $date->add(\DateInterval::createFromDateString($i . ' hours'));
|
||||||
@@ -72,7 +81,9 @@ class StreamController extends Controller
|
|||||||
'source' => $this->API_URL . 'programma/stream/' . $current->format('Y/m/d/H'),
|
'source' => $this->API_URL . 'programma/stream/' . $current->format('Y/m/d/H'),
|
||||||
'tabs' => $hours,
|
'tabs' => $hours,
|
||||||
'title' => 'Uitzending terugluisteren',
|
'title' => 'Uitzending terugluisteren',
|
||||||
'content' => 'de uitzending van ' . $current->format('d-m-Y, H') . ':00 uur',
|
'lengte' => $programma->waveform->length,
|
||||||
|
'waveform' => $programma->waveform,
|
||||||
|
'content' => $programma->programma->name . ' van ' . $current->format('d-m-Y, H') . ':00 uur',
|
||||||
'isStream' => false,
|
'isStream' => false,
|
||||||
'canDownload' => false ]);
|
'canDownload' => false ]);
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+159
-49
@@ -162,6 +162,16 @@ div.pp_default .pp_close:hover {
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ad-prefix {
|
||||||
|
width: 100%;
|
||||||
|
font-family: Nunito, serif;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 3.17;
|
||||||
|
text-align: center;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
height: 111px;
|
height: 111px;
|
||||||
}
|
}
|
||||||
@@ -172,10 +182,11 @@ div.pp_default .pp_close:hover {
|
|||||||
.header .logo img {
|
.header .logo img {
|
||||||
height: 95px;
|
height: 95px;
|
||||||
}
|
}
|
||||||
.header .advertisement {
|
.header ins[data-revive-zoneid] {
|
||||||
float: right;
|
float: right;
|
||||||
width: 728px;
|
width: 728px;
|
||||||
height: 90px;
|
height: 90px;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1170px) {
|
@media (max-width: 1170px) {
|
||||||
@@ -190,7 +201,7 @@ div.pp_default .pp_close:hover {
|
|||||||
.header .logo {
|
.header .logo {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
.header .advertisement {
|
.header ins[data-revive-zoneid] {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -778,6 +789,11 @@ div.pp_default .pp_close:hover {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.article-iframe {
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.box_header {
|
.box_header {
|
||||||
border-bottom: 1px solid #efefef;
|
border-bottom: 1px solid #efefef;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
@@ -942,6 +958,13 @@ div.pp_default .pp_close:hover {
|
|||||||
color: #282828;
|
color: #282828;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ins[data-revive-zoneid="2"] {
|
||||||
|
width: 100%;
|
||||||
|
height: 275px;
|
||||||
|
margin: 11px auto 50px auto;
|
||||||
|
background-color: #efefef;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.sidebar {
|
.sidebar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -1151,6 +1174,12 @@ div.pp_default .pp_close:hover {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ins[data-revive-zoneid] {
|
||||||
|
margin-top: -30px;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
.news .blog .post {
|
.news .blog .post {
|
||||||
height: 115px;
|
height: 115px;
|
||||||
}
|
}
|
||||||
@@ -1204,6 +1233,19 @@ div.pp_default .pp_close:hover {
|
|||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.box.featured .sentence, .post_container .post_body .sentence {
|
||||||
|
font-size: 12px;
|
||||||
|
font-style: italic;
|
||||||
|
line-height: 1.3;
|
||||||
|
text-align: right;
|
||||||
|
color: #585858;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.box.featured .sentence span, .post_container .post_body .sentence span {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.post_container {
|
.post_container {
|
||||||
max-width: 1170px;
|
max-width: 1170px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -1231,20 +1273,6 @@ div.pp_default .pp_close:hover {
|
|||||||
.post_container .post_body h3 {
|
.post_container .post_body h3 {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
.post_container .post_body .sentence,
|
|
||||||
.box.featured .sentence {
|
|
||||||
font-size: 12px;
|
|
||||||
font-style: italic;
|
|
||||||
line-height: 1.3;
|
|
||||||
text-align: right;
|
|
||||||
color: #585858;
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.post_container .post_body .sentence span,
|
|
||||||
.box.featured .sentence span {
|
|
||||||
padding: 0 5px;
|
|
||||||
}
|
|
||||||
.post_container .post_body blockquote {
|
.post_container .post_body blockquote {
|
||||||
border-left: 3px solid #5ba8f4;
|
border-left: 3px solid #5ba8f4;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
@@ -1309,19 +1337,7 @@ div.pp_default .pp_close:hover {
|
|||||||
color: #ED1C24;
|
color: #ED1C24;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post_tags {
|
#schedule .onair, .post_tags li a {
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
list-style: none;
|
|
||||||
height: 31px;
|
|
||||||
margin: 20px 0;
|
|
||||||
}
|
|
||||||
.post_tags li {
|
|
||||||
float: left;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
.post_tags li a,
|
|
||||||
#schedule .onair {
|
|
||||||
display: block;
|
display: block;
|
||||||
width: 4rem;
|
width: 4rem;
|
||||||
padding: 6px 15px 7px;
|
padding: 6px 15px 7px;
|
||||||
@@ -1336,18 +1352,36 @@ div.pp_default .pp_close:hover {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
#schedule a {
|
.post_tags {
|
||||||
text-decoration: none;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
height: 31px;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
.post_tags li {
|
||||||
|
float: left;
|
||||||
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
@keyframes tilt-shaking {
|
@keyframes tilt-shaking {
|
||||||
0% { transform: rotate(0deg); }
|
0% {
|
||||||
25% { transform: rotate(5deg); }
|
transform: rotate(0deg);
|
||||||
50% { transform: rotate(0deg); }
|
}
|
||||||
75% { transform: rotate(-5deg); }
|
25% {
|
||||||
100% { transform: rotate(0deg); }
|
transform: rotate(5deg);
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
75% {
|
||||||
|
transform: rotate(-5deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.onair {
|
#schedule a {
|
||||||
animation: tilt-shaking 1s linear infinite;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
#schedule .program-title {
|
#schedule .program-title {
|
||||||
font-family: Montserrat, serif;
|
font-family: Montserrat, serif;
|
||||||
@@ -1387,6 +1421,9 @@ div.pp_default .pp_close:hover {
|
|||||||
#schedule .no-results span, #schedule .loading span {
|
#schedule .no-results span, #schedule .loading span {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
#schedule .onair {
|
||||||
|
animation: tilt-shaking 1s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
.page_container {
|
.page_container {
|
||||||
max-width: 1170px;
|
max-width: 1170px;
|
||||||
@@ -1476,6 +1513,90 @@ div.pp_default .pp_close:hover {
|
|||||||
margin: 10px 20px 0 0;
|
margin: 10px 20px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.podcast-player .content {
|
||||||
|
border: solid 1px #333;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.audioplayer .waveform {
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.audioplayer .hover {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: 10;
|
||||||
|
pointer-events: none;
|
||||||
|
height: 100%;
|
||||||
|
width: 0;
|
||||||
|
mix-blend-mode: overlay;
|
||||||
|
background: rgba(255, 255, 255, 0.5);
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
}
|
||||||
|
.audioplayer .waveform:hover .hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.audioplayer .time,
|
||||||
|
.audioplayer .duration {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 11;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -1px;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
font-size: 11px;
|
||||||
|
background: rgba(0, 0, 0, 0.75);
|
||||||
|
padding: 2px;
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
.audioplayer .time {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
.audioplayer .duration {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.audioplayer .audio-controls {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.audioplayer .audio-controls .btn {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
@media (max-width: 720px) {
|
||||||
|
.audioplayer .audio-controls .btn label {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.audioplayer .audio-controls .btn.btn-play {
|
||||||
|
flex: 50% 1 0;
|
||||||
|
}
|
||||||
|
.audioplayer .volume-controls {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.audioplayer .volume-controls .volume-slider {
|
||||||
|
flex: 100% 1 1;
|
||||||
|
}
|
||||||
|
.audioplayer .audio-controls .btn,
|
||||||
|
.audioplayer .volume-controls .btn-toggle-mute {
|
||||||
|
flex: 100px 1 1;
|
||||||
|
padding: 10px 0 10px 0;
|
||||||
|
background: #5ba8f4;
|
||||||
|
border-radius: 5px;
|
||||||
|
border-color: solid 1px #0f259d;
|
||||||
|
color: white;
|
||||||
|
font-family: Nunito, serif;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.footer_container {
|
.footer_container {
|
||||||
font-family: Montserrat, serif;
|
font-family: Montserrat, serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
@@ -1663,15 +1784,4 @@ a, a:hover, a:active {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.podcast-player .content {
|
|
||||||
border: solid 1px #333;
|
|
||||||
border-radius: 5px;
|
|
||||||
padding: 0.4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.article-iframe {
|
|
||||||
width: 100%;
|
|
||||||
aspect-ratio: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=style.css.map */
|
/*# sourceMappingURL=style.css.map */
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sourceRoot":"","sources":["../../resources/assets/sass/abstracts/_fonts.scss","../../resources/assets/sass/base/_clearfix.scss","../../resources/assets/sass/base/_container.scss","../../resources/assets/sass/abstracts/_mixin.scss","../../resources/assets/sass/abstracts/_variables.scss","../../resources/assets/sass/components/_button.scss","../../resources/assets/sass/components/_pretty_photo.scss","../../resources/assets/sass/components/_cookie.scss","../../resources/assets/sass/components/_list.scss","../../resources/assets/sass/components/_header.scss","../../resources/assets/sass/components/_menu.scss","../../resources/assets/sass/components/_now-playing.scss","../../resources/assets/sass/components/_main_news.scss","../../resources/assets/sass/components/_box.scss","../../resources/assets/sass/components/_blog.scss","../../resources/assets/sass/components/_sidebar.scss","../../resources/assets/sass/components/_radio_box.scss","../../resources/assets/sass/components/_contact_box.scss","../../resources/assets/sass/components/_featured.scss","../../resources/assets/sass/components/_podcast_items.scss","../../resources/assets/sass/layout/_news.scss","../../resources/assets/sass/components/_bread_crumb.scss","../../resources/assets/sass/components/_page_title.scss","../../resources/assets/sass/components/_post.scss","../../resources/assets/sass/components/_schedule.scss","../../resources/assets/sass/components/_page.scss","../../resources/assets/sass/components/_input.scss","../../resources/assets/sass/components/_podcast_item.scss","../../resources/assets/sass/components/_footer.scss","../../resources/assets/sass/base/_base.scss"],"names":[],"mappings":";AAAQ;AACA;AACA;ACFR;EACE;EACA;EACA;;;ACAF;EACE;EACA;;;AAKF;ECPE;EACA;EDQA;EAIA,kBEfa;;AFYb;EAHF;IAII;;;;AAIJ;ECfE;EACA;;;ADiBF;EACE;IACE,kBEtBW;;;AFyBf;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;IACE;;EAEF;IACE;;;AGtCJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,ODJoB;ECKpB;EACA;EACA;;AAEA;EACE,ODVkB;;ACapB;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;;AAEF;EACE;EACA;;;ACnCJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EASE;EACA;;;AAEF;EAEE;;;AAEF;EAEE;EACA;EACA;EACA;EACA,OFXuB;;;AEazB;EAEE;EACA;;;AAEF;EAEE;EACA;;;AChCF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA,OHPoB;;;AGStB;EACE;EACA;EACA;EACA,OHXgB;;;AGalB;EACE;EACA;EACA;EACA,OHjBgB;;;AIVlB;ELME;EACA;EACA;;;AMTF;EACE;;AACA;EACE;EACA;;AACA;EACE;;AAGJ;EACE;EACA;EACA;;;AAIJ;EACE;IACE;;;AAGJ;EACE;IACE;;EACA;IACE;;EAEF;IACE;;;AAIN;EACE;IACE;;;AC9BF;EADF;IAEI;IACA;;;AAGF;EACE;;AACA;EACE;EACA;EACA;EACA;;AAIJ;EPZA;EACA;EACA;EOYE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA,ONnCK;EMoCL,aNxCU;EMyCV,WNxCQ;EMyCR;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMV;EACE;EPtGA;EACA;EOuGA;;AAEA;EACE;EPvGF;EACA;EACA;;AOwGE;EACE;EACA;EACA;EACA;EACA;EACA;AAYA;AAAA;AAAA;;AAVA;EACE;EACA;;AAGF;EACE;EACA;;AAOF;EACE;EACA;EACA;EACA;EACA;EACA,ONpIc;EMqId;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE,MNrJY;EMsJZ;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA,kBN3KG;EM4KH;EACA;EACA;EACA;EACA,ONpLG;;AMsLL;EACE;EACA;;AAGJ;EACE;;;AAKR;EACE;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;;AAGJ;EACE;;AACA;EACE;;AAGJ;EACE;EACA;EACA;EACA;EACA;;AAEE;EACE;EACA;;AAEA;EACE;;AAGA;EACE;;AAIJ;EACE;;AACA;EACE;EACA;;AAEF;EACE;;AAIJ;EACE;;;AAOV;EACE;;AAEA;EACE;EACA;;AAGF;EPtQA;EACA;EACA;;AOsQE;EACE;EACA;EACA;EACA;EACA,ON5QO;EM6QP;EACA;EACA;EACA;;AAEF;EACE;;AAIJ;EACE;EACA;EACA;EACA,kBNvRS;EMwRT;EACA;EACA;;AAGE;EACE;;AACA;EACE;;AAIN;EACE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;;;AAMR;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;;;AAKR;EACE;EACA;EACA;;AACA;EACE;EACA;;AACA;EACE;EACA;EACA;;AACA;EACE;;AAIN;EACE;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;;;AAKJ;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;;;AAIJ;EACE;EACA;;;AAKE;EACE,YNpbS;EMqbT,cNrbS;;AM2bT;EACE,YN5bO;;AMgcP;EACE,kBNjcK;;AMscP;EACE,YNvcK;;;AODf;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEA;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AC9CV;EADF;IAEI;IACA;AAKA;AAMA;;EAVA;IACE;;EAIF;IACE;IACA;;EAIF;IACE;IACA;;EAEF;IACE;;;AAGJ;EACE;EACA;;AAEF;EACE;;AAEF;EACE;EACA;EACA;;AACA;EAJF;IAKI;;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EAEA;;AAEA;ETtDJ;EACA;EACA;;ASuDM;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OR/DY;EQgEZ;EACA;;AAIJ;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA,OR7Ec;EQ8Ed;;AAEF;EACE;EACA;;AAEF;EACE;IACE;IACA;IACA;;;AAGJ;ETxFJ;ELine truncated
|
{"version":3,"sourceRoot":"","sources":["../../resources/assets/sass/abstracts/_fonts.scss","../../resources/assets/sass/base/_clearfix.scss","../../resources/assets/sass/base/_container.scss","../../resources/assets/sass/abstracts/_mixin.scss","../../resources/assets/sass/abstracts/_variables.scss","../../resources/assets/sass/components/_button.scss","../../resources/assets/sass/components/_pretty_photo.scss","../../resources/assets/sass/components/_cookie.scss","../../resources/assets/sass/components/_list.scss","../../resources/assets/sass/components/_banners.scss","../../resources/assets/sass/components/_header.scss","../../resources/assets/sass/components/_menu.scss","../../resources/assets/sass/components/_now-playing.scss","../../resources/assets/sass/components/_main_news.scss","../../resources/assets/sass/components/_box.scss","../../resources/assets/sass/components/_blog.scss","../../resources/assets/sass/components/_sidebar.scss","../../resources/assets/sass/components/_radio_box.scss","../../resources/assets/sass/components/_contact_box.scss","../../resources/assets/sass/components/_featured.scss","../../resources/assets/sass/components/_podcast_items.scss","../../resources/assets/sass/layout/_home.scss","../../resources/assets/sass/layout/_news.scss","../../resources/assets/sass/components/_bread_crumb.scss","../../resources/assets/sass/components/_page_title.scss","../../resources/assets/sass/components/_post.scss","../../resources/assets/sass/components/_schedule.scss","../../resources/assets/sass/components/_page.scss","../../resources/assets/sass/components/_input.scss","../../resources/assets/sass/components/_podcast_item.scss","../../resources/assets/sass/components/_media.scss","../../resources/assets/sass/components/_footer.scss","../../resources/assets/sass/base/_base.scss"],"names":[],"mappings":";AAAQ;AACA;AACA;ACFR;EACE;EACA;EACA;;;ACAF;EACE;EACA;;;AAKF;ECPE;EACA;EDQA;EAIA,kBEfa;;AFYb;EAHF;IAII;;;;AAIJ;ECfE;EACA;;;ADiBF;EACE;IACE,kBEtBW;;;AFyBf;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;IACE;;EAEF;IACE;;;AGtCJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,ODJoB;ECKpB;EACA;EACA;;AAEA;EACE,ODVkB;;ACapB;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;;AAEF;EACE;EACA;;;ACnCJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EASE;EACA;;;AAEF;EAEE;;;AAEF;EAEE;EACA;EACA;EACA;EACA,OFXuB;;;AEazB;EAEE;EACA;;;AAEF;EAEE;EACA;;;AChCF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA,OHPoB;;;AGStB;EACE;EACA;EACA;EACA,OHXgB;;;AGalB;EACE;EACA;EACA;EACA,OHjBgB;;;AIVlB;ELME;EACA;EACA;;;AMTF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;ACPF;EACE;;AACA;EACE;EACA;;AACA;EACE;;AAGJ;EACE;EACA;EACA;EACA;;;AAIJ;EACE;IACE;;;AAGJ;EACE;IACE;;EACA;IACE;;EAEF;IACE;;;AAIN;EACE;IACE;;;AC/BF;EADF;IAEI;IACA;;;AAGF;EACE;;AACA;EACE;EACA;EACA;EACA;;AAIJ;ERZA;EACA;EACA;EQYE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA,OPnCK;EOoCL,aPxCU;EOyCV,WPxCQ;EOyCR;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMV;EACE;ERtGA;EACA;EQuGA;;AAEA;EACE;ERvGF;EACA;EACA;;AQwGE;EACE;EACA;EACA;EACA;EACA;EACA;AAYA;AAAA;AAAA;;AAVA;EACE;EACA;;AAGF;EACE;EACA;;AAOF;EACE;EACA;EACA;EACA;EACA;EACA,OPpIc;EOqId;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE,MPrJY;EOsJZ;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA,kBP3KG;EO4KH;EACA;EACA;EACA;EACA,OPpLG;;AOsLL;EACE;EACA;;AAGJ;EACE;;;AAKR;EACE;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;;AAGJ;EACE;;AACA;EACE;;AAGJ;EACE;EACA;EACA;EACA;EACA;;AAEE;EACE;EACA;;AAEA;EACE;;AAGA;EACE;;AAIJ;EACE;;AACA;EACE;EACA;;AAEF;EACE;;AAIJ;EACE;;;AAOV;EACE;;AAEA;EACE;EACA;;AAGF;ERtQA;EACA;EACA;;AQsQE;EACE;EACA;EACA;EACA;EACA,OP5QO;EO6QP;EACA;EACA;EACA;;AAEF;EACE;;AAIJ;EACE;EACA;EACA;EACA,kBPvRS;EOwRT;EACA;EACA;;AAGE;EACE;;AACA;EACE;;AAIN;EACE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;;;AAMR;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;;;AAKR;EACE;EACA;EACA;;AACA;EACE;EACA;;AACA;EACE;EACA;EACA;;AACA;EACE;;AAIN;EACE;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;;;AAKJ;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;;;AAIJ;EACE;EACA;;;AAKE;EACE,YPpbS;EOqbT,cPrbS;;AO2bT;EACE,YP5bO;;AOgcP;EACE,kBPjcK;;AOscP;EACE,YPvcK;;;AQDf;EACE;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEA;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AC9CV;EADF;IAEI;IACA;AAKA;AAMA;;EAVA;IACE;;EAIF;IACE;IACA;;EAIF;IACE;IACA;;EAEF;IACE;;;AAGJ;EACE;EACA;;AAEF;EACE;;AAEF;EACE;EACA;EACA;;AACA;EAJF;IAKI;;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACLine truncated
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).WaveSurfer=e()}(this,(function(){"use strict";function t(t,e,i,n){return new(i||(i=Promise))((function(s,r){function o(t){try{h(n.next(t))}catch(t){r(t)}}function a(t){try{h(n.throw(t))}catch(t){r(t)}}function h(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,a)}h((n=n.apply(t,e||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;class e{constructor(){this.listeners={}}on(t,e,i){if(this.listeners[t]||(this.listeners[t]=new Set),this.listeners[t].add(e),null==i?void 0:i.once){const i=()=>{this.un(t,i),this.un(t,e)};return this.on(t,i),i}return()=>this.un(t,e)}un(t,e){var i;null===(i=this.listeners[t])||void 0===i||i.delete(e)}once(t,e){return this.on(t,e,{once:!0})}unAll(){this.listeners={}}emit(t,...e){this.listeners[t]&&this.listeners[t].forEach((t=>t(...e)))}}const i={decode:function(e,i){return t(this,void 0,void 0,(function*(){const t=new AudioContext({sampleRate:i});return t.decodeAudioData(e).finally((()=>t.close()))}))},createBuffer:function(t,e){return"number"==typeof t[0]&&(t=[t]),function(t){const e=t[0];if(e.some((t=>t>1||t<-1))){const i=e.length;let n=0;for(let t=0;t<i;t++){const i=Math.abs(e[t]);i>n&&(n=i)}for(const e of t)for(let t=0;t<i;t++)e[t]/=n}}(t),{duration:e,length:t[0].length,sampleRate:t[0].length/e,numberOfChannels:t.length,getChannelData:e=>null==t?void 0:t[e],copyFromChannel:AudioBuffer.prototype.copyFromChannel,copyToChannel:AudioBuffer.prototype.copyToChannel}}};function n(t,e){const i=e.xmlns?document.createElementNS(e.xmlns,t):document.createElement(t);for(const[t,s]of Object.entries(e))if("children"===t)for(const[t,s]of Object.entries(e))"string"==typeof s?i.appendChild(document.createTextNode(s)):i.appendChild(n(t,s));else"style"===t?Object.assign(i.style,s):"textContent"===t?i.textContent=s:i.setAttribute(t,s.toString());return i}function s(t,e,i){const s=n(t,e||{});return null==i||i.appendChild(s),s}var r=Object.freeze({__proto__:null,createElement:s,default:s});const o={fetchBlob:function(e,i,n){return t(this,void 0,void 0,(function*(){const s=yield fetch(e,n);if(s.status>=400)throw new Error(`Failed to fetch ${e}: ${s.status} (${s.statusText})`);return function(e,i){t(this,void 0,void 0,(function*(){if(!e.body||!e.headers)return;const n=e.body.getReader(),s=Number(e.headers.get("Content-Length"))||0;let r=0;const o=e=>t(this,void 0,void 0,(function*(){r+=(null==e?void 0:e.length)||0;const t=Math.round(r/s*100);i(t)})),a=()=>t(this,void 0,void 0,(function*(){let t;try{t=yield n.read()}catch(t){return}t.done||(o(t.value),yield a())}));a()}))}(s.clone(),i),s.blob()}))}};class a extends e{constructor(t){super(),this.isExternalMedia=!1,t.media?(this.media=t.media,this.isExternalMedia=!0):this.media=document.createElement("audio"),t.mediaControls&&(this.media.controls=!0),t.autoplay&&(this.media.autoplay=!0),null!=t.playbackRate&&this.onMediaEvent("canplay",(()=>{null!=t.playbackRate&&(this.media.playbackRate=t.playbackRate)}),{once:!0})}onMediaEvent(t,e,i){return this.media.addEventListener(t,e,i),()=>this.media.removeEventListener(t,e,i)}getSrc(){return this.media.currentSrc||this.media.src||""}revokeSrc(){const t=this.getSrc();t.startsWith("blob:")&&URL.revokeObjectURL(t)}canPlayType(t){return""!==this.media.canPlayType(t)}setSrc(t,e){if(this.getSrc()===t)return;this.revokeSrc();const i=e instanceof Blob&&this.canPlayType(e.type)?URL.createObjectURL(e):t;this.media.src=i}destroy(){this.media.pause(),this.isExternalMedia||(this.media.remove(),this.revokeSrc(),this.media.src="",this.media.load())}setMediaElement(t){this.media=t}play(){return t(this,void 0,void 0,(function*(){return this.media.play()}))}pause(){this.media.pause()}isPlaying(){return!this.media.paused&&!this.media.ended}setTime(t){this.media.currentTime=t}getDuration(){return this.media.duration}getCurrentTime(){return this.media.currentTime}getVolume(){return this.media.volume}setVolume(t){this.media.volume=t}getMuted(){return this.media.muted}setMuted(t){this.media.muted=t}getPlaybackRate(){return this.media.playbackRate}isSeeking(){return this.media.seeking}setPlaybackRate(t,e){null!=e&&(this.media.preservesPitch=e),this.media.playbackRate=t}getMediaElement(){return this.media}setSinkId(t){return this.media.setSinkId(t)}}class h extends e{constructor(t,e){super(),this.timeouts=[],this.isScrollable=!1,this.audioData=null,this.resizeObserver=null,this.lastContainerWidth=0,this.isDragging=!1,this.subscriptions=[],this.subscriptions=[],this.options=t;const i=this.parentFromOptionsContainer(t.container);this.parent=i;const[n,s]=this.initHtml();i.appendChild(n),this.container=n,this.scrollContainer=s.querySelector(".scroll"),this.wrapper=s.querySelector(".wrapper"),this.canvasWrapper=s.querySelector(".canvases"),this.progressWrapper=s.querySelector(".progress"),this.cursLine truncated
|
||||||
+1
@@ -5,6 +5,7 @@
|
|||||||
@use "../components/pretty_photo";
|
@use "../components/pretty_photo";
|
||||||
@use "../components/cookie";
|
@use "../components/cookie";
|
||||||
@use "../components/list";
|
@use "../components/list";
|
||||||
|
@use "../components/banners";
|
||||||
|
|
||||||
@use "../layout";
|
@use "../layout";
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
.ad-prefix {
|
||||||
|
width: 100%;
|
||||||
|
font-family: Nunito, serif;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 3.17;
|
||||||
|
text-align: center;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
+3
-2
@@ -7,10 +7,11 @@
|
|||||||
height: 95px;
|
height: 95px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.advertisement {
|
ins[data-revive-zoneid] {
|
||||||
float: right;
|
float: right;
|
||||||
width: 728px;
|
width: 728px;
|
||||||
height: 90px;
|
height: 90px;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
.logo {
|
.logo {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
.advertisement {
|
ins[data-revive-zoneid] {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+7
-1
@@ -61,7 +61,8 @@
|
|||||||
|
|
||||||
.post_details {
|
.post_details {
|
||||||
@include reset-list;
|
@include reset-list;
|
||||||
|
display: flex;
|
||||||
|
gap: 3px;
|
||||||
.category a {
|
.category a {
|
||||||
padding: 6px 11px 7px;
|
padding: 6px 11px 7px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
@@ -105,3 +106,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.article-iframe {
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
}
|
||||||
+91
@@ -0,0 +1,91 @@
|
|||||||
|
.audioplayer {
|
||||||
|
.waveform {
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hover {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: 10;
|
||||||
|
pointer-events: none;
|
||||||
|
height: 100%;
|
||||||
|
width: 0;
|
||||||
|
mix-blend-mode: overlay;
|
||||||
|
background: rgba(255, 255, 255, 0.5);
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.waveform:hover .hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time,
|
||||||
|
.duration {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 11;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -1px;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
font-size: 11px;
|
||||||
|
background: rgba(0, 0, 0, 0.75);
|
||||||
|
padding: 2px;
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.duration {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-controls {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-controls .btn {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media(max-width: 720px) {
|
||||||
|
.audio-controls .btn label {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-controls .btn.btn-play {
|
||||||
|
flex: 50% 1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.volume-controls {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.volume-controls .volume-slider {
|
||||||
|
flex: 100% 1 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-controls .btn,
|
||||||
|
.volume-controls .btn-toggle-mute {
|
||||||
|
flex: 100px 1 1;
|
||||||
|
padding: 10px 0 10px 0;
|
||||||
|
background: #5ba8f4;
|
||||||
|
border-radius: 5px;
|
||||||
|
border-color: solid 1px #0f259d;
|
||||||
|
color: white;
|
||||||
|
font-family: Nunito, serif;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
+1
-1
@@ -124,7 +124,7 @@
|
|||||||
margin: 8px auto;
|
margin: 8px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&.search {
|
||||||
border: none;
|
border: none;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,3 +12,9 @@
|
|||||||
float: left;
|
float: left;
|
||||||
margin: 10px 20px 0 0;
|
margin: 10px 20px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.podcast-player .content {
|
||||||
|
border: solid 1px #333;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0.4rem;
|
||||||
|
}
|
||||||
+39
-21
@@ -1,6 +1,20 @@
|
|||||||
@use "../abstracts/mixin" as *;
|
@use "../abstracts/mixin" as *;
|
||||||
@use "../abstracts/variables" as *;
|
@use "../abstracts/variables" as *;
|
||||||
|
|
||||||
|
%sentence {
|
||||||
|
font-size: 12px;
|
||||||
|
font-style: italic;
|
||||||
|
line-height: 1.3;
|
||||||
|
text-align: right;
|
||||||
|
color: $text-description-color;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
span {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.post_container {
|
.post_container {
|
||||||
@include container;
|
@include container;
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
@@ -30,17 +44,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sentence {
|
.sentence {
|
||||||
font-size: 12px;
|
@extend %sentence
|
||||||
font-style: italic;
|
}
|
||||||
line-height: 1.3;
|
|
||||||
text-align: right;
|
|
||||||
color: $text-description-color;
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
span {
|
@at-root .box.featured .sentence {
|
||||||
padding: 0 5px;
|
@extend %sentence
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
@@ -106,6 +114,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%post-tags-link {
|
||||||
|
display: block;
|
||||||
|
width: 4rem;
|
||||||
|
padding: 6px 15px 7px;
|
||||||
|
border-radius: 3px;
|
||||||
|
background-image: linear-gradient(to left, #0d1ca3, #45aaf8);
|
||||||
|
font-family: Nunito, serif;
|
||||||
|
font-size: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
color: $text-inverted-color;
|
||||||
|
text-decoration: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
.post_tags {
|
.post_tags {
|
||||||
@include reset-list;
|
@include reset-list;
|
||||||
height: 31px;
|
height: 31px;
|
||||||
@@ -116,17 +140,11 @@
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
@extend %post-tags-link
|
||||||
padding: 6px 15px 7px;
|
}
|
||||||
border-radius: 3px;
|
|
||||||
background-image: linear-gradient(to left, #0d1ca3, #45aaf8);
|
@at-root #schedule .onair {
|
||||||
font-family: Nunito, serif;
|
@extend %post-tags-link
|
||||||
font-size: 10px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
color: $text-inverted-color;
|
|
||||||
text-decoration: none;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+12
@@ -1,6 +1,14 @@
|
|||||||
@use "../abstracts/mixin" as *;
|
@use "../abstracts/mixin" as *;
|
||||||
@use "../abstracts/variables" as *;
|
@use "../abstracts/variables" as *;
|
||||||
|
|
||||||
|
@keyframes tilt-shaking {
|
||||||
|
0% { transform: rotate(0deg); }
|
||||||
|
25% { transform: rotate(5deg); }
|
||||||
|
50% { transform: rotate(0deg); }
|
||||||
|
75% { transform: rotate(-5deg); }
|
||||||
|
100% { transform: rotate(0deg); }
|
||||||
|
}
|
||||||
|
|
||||||
#schedule {
|
#schedule {
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -32,4 +40,8 @@
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.onair {
|
||||||
|
animation: tilt-shaking 1s linear infinite;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
ins[data-revive-zoneid="2"] {
|
||||||
|
width: 100%;
|
||||||
|
height: 275px;
|
||||||
|
margin: 11px auto 50px auto;
|
||||||
|
background-color: #efefef;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.sidebar {
|
.sidebar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
+6
@@ -6,3 +6,9 @@
|
|||||||
@use "../components/contact_box";
|
@use "../components/contact_box";
|
||||||
@use "../components/featured";
|
@use "../components/featured";
|
||||||
@use "../components/podcast_items";
|
@use "../components/podcast_items";
|
||||||
|
|
||||||
|
ins[data-revive-zoneid] {
|
||||||
|
margin-top: -30px;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
+1
@@ -1 +1,2 @@
|
|||||||
@use "../components/podcast_item";
|
@use "../components/podcast_item";
|
||||||
|
@use "../components/media";
|
||||||
@@ -48,19 +48,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@if($item = next($news))
|
@if($item = next($news))
|
||||||
<div class="post large d-block d-md-none">
|
<div class="post large d-block d-md-none">
|
||||||
<a href="{{url($item->url)}}" title="{{$item->title}}">
|
<a href="{{url($item->url)}}" title="{{$item->title}}">
|
||||||
@if($item->video)
|
@if($item->video)
|
||||||
<span class="icon video"></span>
|
<span class="icon video"></span>
|
||||||
@elseif($item->images && count($item->images) > 1)
|
@elseif($item->images && count($item->images) > 1)
|
||||||
<span class="icon gallery"></span>
|
<span class="icon gallery"></span>
|
||||||
@endif
|
@endif
|
||||||
<img src='{{$item->images && count($item->images) ? $imgBase . $item->images[0]->url : '/images/noimage.png'}}'
|
<img src='{{$item->images && count($item->images) ? $imgBase . $item->images[0]->url : '/images/noimage.png'}}'
|
||||||
alt='img'>
|
alt='img'>
|
||||||
</a>
|
</a>
|
||||||
<div class="slider_content_box">
|
<div class="slider_content_box">
|
||||||
<ul class="post_details simple">
|
<ul class="post_details simple">
|
||||||
@foreach($item->tags as $tag)
|
@foreach($item->tags as $tag)
|
||||||
<li class="category">
|
<li class="category">
|
||||||
<a title="{{$tag->titel}}"
|
<a title="{{$tag->titel}}"
|
||||||
@@ -68,23 +68,23 @@
|
|||||||
class="over_image">{{$tag->titel}}</a>
|
class="over_image">{{$tag->titel}}</a>
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a href="{{url($item->url)}}"
|
<h2><a href="{{url($item->url)}}"
|
||||||
title="{{$item->title}}">{!!$item->title!!}</a></h2>
|
title="{{$item->title}}">{!!$item->title!!}</a></h2>
|
||||||
<?php
|
<?php
|
||||||
$time = Formatter::relativeDate($item->published) . ' om ' . $item->published->format('H:i');
|
$time = Formatter::relativeDate($item->published) . ' om ' . $item->published->format('H:i');
|
||||||
if ($item->edited && ($item->edited->format('d m H i') != $item->published->format('d m H i'))) {
|
if ($item->edited && ($item->edited->format('d m H i') != $item->published->format('d m H i'))) {
|
||||||
$time .= ' | bijgewerkt: '
|
$time .= ' | bijgewerkt: '
|
||||||
. ($item->edited->format('d m') != $item->published->format('d m') ? strtolower(Formatter::relativeDate($item->edited)) : '')
|
. ($item->edited->format('d m') != $item->published->format('d m') ? strtolower(Formatter::relativeDate($item->edited)) : '')
|
||||||
. ' ' . $item->edited->format('H:i') . ' uur';
|
. ' ' . $item->edited->format('H:i') . ' uur';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<span class="post_date" title="{{$time}}">
|
<span class="post_date" title="{{$time}}">
|
||||||
<i class="fa-regular fa-clock"></i> {{$time}}
|
<i class="fa-regular fa-clock"></i> {{$time}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
@endif
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="col-8 col-md-6">
|
<div class="col-8 col-md-6">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -102,16 +102,16 @@
|
|||||||
</a>
|
</a>
|
||||||
<div class="slider_content_box">
|
<div class="slider_content_box">
|
||||||
<ul class="post_details simple">
|
<ul class="post_details simple">
|
||||||
@foreach($item->tags as $tag)
|
@foreach($item->tags as $tag)
|
||||||
<li class="category">
|
<li class="category">
|
||||||
<a title="{{$tag->titel}}"
|
<a title="{{$tag->titel}}"
|
||||||
href="{{route('nieuws.tag', ['tag' => $tag->slug])}}"
|
href="{{route('nieuws.tag', ['tag' => $tag->slug])}}"
|
||||||
class="over_image">{{$tag->titel}}</a>
|
class="over_image">{{$tag->titel}}</a>
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
<h5 class="post_title"><a href="{{url($item->url)}}"
|
<h5 class="post_title"><a href="{{url($item->url)}}"
|
||||||
title="{{$item->title}}">{!!$item->title!!}</a></h5>
|
title="{{$item->title}}">{!!$item->title!!}</a></h5>
|
||||||
<?php
|
<?php
|
||||||
$time = Formatter::relativeDate($item->published) . ' om ' . $item->published->format('H:i');
|
$time = Formatter::relativeDate($item->published) . ' om ' . $item->published->format('H:i');
|
||||||
if ($item->edited && ($item->edited->format('d m H i') != $item->published->format('d m H i'))) {
|
if ($item->edited && ($item->edited->format('d m H i') != $item->published->format('d m H i'))) {
|
||||||
@@ -136,13 +136,8 @@
|
|||||||
<div class="grey_background">
|
<div class="grey_background">
|
||||||
<div class="body_container row">
|
<div class="body_container row">
|
||||||
@if(!isset($disableBanners) || !$disableBanners)
|
@if(!isset($disableBanners) || !$disableBanners)
|
||||||
<div class="col-12">
|
<ins data-revive-zoneid="3" data-revive-id="{{ env('REVIVE_ID') }}"></ins>
|
||||||
<div class="d-none d-md-block" style="width: 100%; font-family: Nunito,serif;font-size: 12px;font-weight: 500;line-height: 3.17;text-align: center;color: #666;">
|
<ins data-revive-zoneid="4" data-revive-id="{{ env('REVIVE_ID') }}"></ins>
|
||||||
- Advertentie -
|
|
||||||
</div>
|
|
||||||
<div id="nhgooi_homepage_top" class="d-none d-md-block" style="width: 728px; height: 90px;margin: 11px auto 50px auto;background-color: #efefef;"></div>
|
|
||||||
<script type="text/javascript">ootag.queue.push(function () {ootag.defineSlot({adSlot: "nhgooi_homepage_top",targetId: "nhgooi_homepage_top",adShownCallback: (adslot) => { calculateSize(adslot.targetId); }});});</script>
|
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
<div class="col-12 col-md content_container">
|
<div class="col-12 col-md content_container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -175,30 +170,32 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-md-6">
|
<div class="col-12 col-md-6">
|
||||||
<a href="{{$url}}" title="{{$podcast->title}}">
|
<a href="{{$url}}" title="{{$podcast->title}}">
|
||||||
<img src="{{($hasImage = $podcast->image && $podcast->image->url) ? $imgBase . $podcast->image->url : '/images/noimage.png'}}"/>
|
<img src="{{($hasImage = $podcast->image && $podcast->image->url) ? $imgBase . $podcast->image->url : '/images/noimage.png'}}"/>
|
||||||
<div class="sentence">
|
<div class="sentence">
|
||||||
<?php
|
<?php
|
||||||
$sentence = [];
|
$sentence = [];
|
||||||
if ($hasImage) {
|
if ($hasImage) {
|
||||||
$sentence[] = '<span class="text">' . $podcast->image->title . '</span>';
|
$sentence[] = '<span class="text">' . $podcast->image->title . '</span>';
|
||||||
} elseif (isset($podcast->image->title) && $podcast->image->title) {
|
} elseif (isset($podcast->image->title) && $podcast->image->title) {
|
||||||
$sentence[] = '<span class="text">' . $podcast->image->title . '</span>';
|
$sentence[] = '<span class="text">' . $podcast->image->title . '</span>';
|
||||||
}
|
}
|
||||||
if (isset($podcast->image->author) && $podcast->image->author) {
|
if (isset($podcast->image->author) && $podcast->image->author) {
|
||||||
$sentence[] = '<span class="author">' . $podcast->image->author . '</span>';
|
$sentence[] = '<span class="author">' . $podcast->image->author . '</span>';
|
||||||
}
|
}
|
||||||
$sentence = join('<span class="separator">|</span>', $sentence);
|
$sentence = join('<span class="separator">|</span>', $sentence);
|
||||||
?>
|
?>
|
||||||
{!!$sentence!!}
|
{!!$sentence!!}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-6">
|
<div class="col-12 col-md-6">
|
||||||
<h2 class="post_title"><a href="{{$url}}" title="{{$podcast->title}}">{!!$podcast->title!!}</a></h2>
|
<h2 class="post_title"><a href="{{$url}}"
|
||||||
|
title="{{$podcast->title}}">{!!$podcast->title!!}</a></h2>
|
||||||
<div class="sub_title">
|
<div class="sub_title">
|
||||||
@if ($podcast->program)
|
@if ($podcast->program)
|
||||||
<a class="program_name" href="{{ route('programma') . $podcast->program->url }}"
|
<a class="program_name"
|
||||||
|
href="{{ route('programma') . $podcast->program->url }}"
|
||||||
title="{{$podcast->program->name}}">{{$podcast->program->name}}</a>
|
title="{{$podcast->program->name}}">{{$podcast->program->name}}</a>
|
||||||
@endif
|
@endif
|
||||||
<span class="post_date" title="{{Formatter::relativeDate($podcast->created)}}">
|
<span class="post_date" title="{{Formatter::relativeDate($podcast->created)}}">
|
||||||
@@ -217,11 +214,11 @@
|
|||||||
<div class="col-12 col-md-auto sidebar">
|
<div class="col-12 col-md-auto sidebar">
|
||||||
@include('widgets/nhgooiradiotv', ['headerClass' => 'small'])
|
@include('widgets/nhgooiradiotv', ['headerClass' => 'small'])
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => 'nhgooi_homepage_side', 'ad_sidebarId' => 'nhgooi_sidebar1'])
|
@include('widgets.banner_sidebar')
|
||||||
|
|
||||||
@include('widgets/contact', [])
|
@include('widgets/contact', [])
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => 'nhgooi_homepage_side2', 'ad_sidebarId' => 'nhgooi_sidebar2'])
|
@include('widgets.banner_sidebar')
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<script type="text/javascript" src="//www.cookieconsent.com/releases/3.1.0/cookie-consent.js"></script>
|
<script type="text/javascript" src="//www.cookieconsent.com/releases/3.1.0/cookie-consent.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
cookieconsent.run({"notice_banner_type":"simple","consent_type":"express","palette":"light","language":"nl","website_name":"NH Gooi","cookies_policy_url":"https://www.nhnieuws.nl/privacyverklaring","change_preferences_selector":"#changePreferences"});
|
cookieconsent.run({"notice_banner_type":"simple","consent_type":"express","palette":"light","language":"nl","website_name":"NH Gooi","cookies_policy_url":"/privacy-verklaring","change_preferences_selector":"#changePreferences"});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -13,9 +13,7 @@ cookieconsent.run({"notice_banner_type":"simple","consent_type":"express","palet
|
|||||||
<!-- End Google Tag Manager -->
|
<!-- End Google Tag Manager -->
|
||||||
|
|
||||||
@if(!isset($disableBanners) || !$disableBanners)
|
@if(!isset($disableBanners) || !$disableBanners)
|
||||||
<script type="text/javascript" src="https://cdn.optoutadvertising.com/script/ootag.v2.js"></script><script>var ootag =
|
<script async src="{{ env('ADS_URL') }}www/delivery/asyncjs.php"></script>
|
||||||
ootag || {}; ootag.queue = ootag.queue || [];ootag.queue.push(function () { ootag.initializeOo({
|
|
||||||
publisher: 4, onlyNoConsent: 1, consentTimeOutMS: 500 });});</script>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<noscript>ePrivacy and GPDR Cookie Consent by <a href="https://www.CookieConsent.com/" rel="nofollow noopener">Cookie Consent</a></noscript>
|
<noscript>ePrivacy and GPDR Cookie Consent by <a href="https://www.CookieConsent.com/" rel="nofollow noopener">Cookie Consent</a></noscript>
|
||||||
|
|||||||
@@ -22,8 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if(!isset($disableBanners) || !$disableBanners)
|
@if(!isset($disableBanners) || !$disableBanners)
|
||||||
<div id="nhgooi_header_top" class="advertisement" style="margin: 11px auto 0 auto;background-color: #efefef;"></div>
|
<ins data-revive-zoneid="1" data-revive-id="{{ env('REVIVE_ID') }}"></ins>
|
||||||
<script type="text/javascript">ootag.queue.push(function () {ootag.defineSlot({adSlot: "nhgooi_homepage_header",targetId: "nhgooi_header_top",filledCallback: (adslot) => { calculateSize(adslot.targetId); }});});</script>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -186,6 +185,7 @@
|
|||||||
<script type="text/javascript" src="/js/jquery.prettyPhoto.js"></script>
|
<script type="text/javascript" src="/js/jquery.prettyPhoto.js"></script>
|
||||||
<script type="text/javascript" src="/js/jquery.carouFredSel-6.2.1.min.js"></script>
|
<script type="text/javascript" src="/js/jquery.carouFredSel-6.2.1.min.js"></script>
|
||||||
<script type="text/javascript" src="/js/functions.js"></script>
|
<script type="text/javascript" src="/js/functions.js"></script>
|
||||||
|
<script type="text/javascript" src="/js/wavesurfer.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(window).resize(function () {
|
$(window).resize(function () {
|
||||||
// Fix sticky for mobile menu indicator
|
// Fix sticky for mobile menu indicator
|
||||||
@@ -202,7 +202,7 @@
|
|||||||
function openPlayerInNewScreen() {
|
function openPlayerInNewScreen() {
|
||||||
$(".player").click(function (e) {
|
$(".player").click(function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
window.open($(this).attr('href'), '_player', 'width=550,height=500,titlebar,close');
|
window.open($(this).attr('href'), '_player', 'width=550,height=600,titlebar,close');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
@extends('layouts/master')
|
@extends('layouts/master')
|
||||||
|
|
||||||
@section('content_class')box
|
@section('content_class')
|
||||||
|
box
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('page')
|
@section('page')
|
||||||
@@ -57,13 +58,13 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => $ad_sidebar1 ?? 'nhgooi_section_side', 'ad_sidebarId' => 'nhgooi_sidebar1'])
|
@include('widgets.banner_sidebar')
|
||||||
|
|
||||||
@include('widgets/nhgooiradiotv', ['headerClass' => 'small'])
|
@include('widgets/nhgooiradiotv', ['headerClass' => 'small'])
|
||||||
|
|
||||||
@include('widgets/contact', [])
|
@include('widgets/contact', [])
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => $ad_sidebar2 ?? 'nhgooi_section_side2', 'ad_sidebarId' => 'nhgooi_sidebar2'])
|
@include('widgets.banner_sidebar')
|
||||||
@show
|
@show
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
<a href="javascript:window.close();" class="close btn"><span class='fa fa-times fa-fw'></span> Venster sluiten</a>
|
<a href="javascript:window.close();" class="close btn"><span class='fa fa-times fa-fw'></span> Venster sluiten</a>
|
||||||
<p class="logo"><a href="{{ url('/') }}"><img src="{{ url( 'images/logo-NHGooi.svg' )}}"></a></p>
|
<p class="logo"><a href="{{ url('/') }}"><img src="{{ url( 'images/logo-NHGooi.svg' )}}"></a></p>
|
||||||
|
|
||||||
@if(false && $isStream)
|
@if(isset($notAvailable) && $notAvailable)
|
||||||
<p>Wegens een technisch probleem is NH Gooi momenteel niet via Internet te beluisteren. Onze excuses voor het
|
<p>Helaas is de door u gekozen audio momenteel niet via Internet te beluisteren. Onze excuses voor het
|
||||||
ongemak.</p>
|
ongemak.</p>
|
||||||
<p>In Hilversum, Huizen en de BEL-gemeenten zijn wij te ontvangen op 92.0 FM of 105.1 FM.</p>
|
<p>In Hilversum, Huizen en de BEL-gemeenten zijn wij te ontvangen op 92.0 FM of 105.1 FM.</p>
|
||||||
@else
|
@else
|
||||||
@@ -36,9 +36,16 @@
|
|||||||
</p>
|
</p>
|
||||||
@endif
|
@endif
|
||||||
<p>
|
<p>
|
||||||
<audio controls autoplay="true">
|
{{-- <audio controls autoplay="true">
|
||||||
<source src="{{$source}}" type="audio/mp3"/>
|
<source src="{{$source}}" type="audio/mp3"/>
|
||||||
</audio>
|
</audio> --}}
|
||||||
|
|
||||||
|
@include('widgets.audioplayer', [
|
||||||
|
'source' => $source,
|
||||||
|
'isStream' => $isStream,
|
||||||
|
'lengte' => $lengte,
|
||||||
|
'waveform' => $waveform
|
||||||
|
])
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -130,6 +137,7 @@
|
|||||||
|
|
||||||
@push('scripts')
|
@push('scripts')
|
||||||
<script type="text/javascript" src="/js/jquery-3.7.1.min.js"></script>
|
<script type="text/javascript" src="/js/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="/js/wavesurfer.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function updateOnAir() {
|
function updateOnAir() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@@ -163,4 +171,3 @@
|
|||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
|
||||||
@include('widgets.mediaplayer')
|
|
||||||
@@ -14,13 +14,9 @@
|
|||||||
<div class="grey_background">
|
<div class="grey_background">
|
||||||
<div class="body_container row">
|
<div class="body_container row">
|
||||||
@if(!isset($disableBanners) || !$disableBanners)
|
@if(!isset($disableBanners) || !$disableBanners)
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div style="width: 100%; font-family: Nunito,serif;font-size: 12px;font-weight: 500;line-height: 3.17;text-align: center;color: #666;">
|
<ins data-revive-zoneid="5" data-revive-id="{{ env('REVIVE_ID') }}"></ins>
|
||||||
- Advertentie -
|
|
||||||
</div>
|
</div>
|
||||||
<div id="nhgooi_article_top" style="width: 728px; height: 90px;margin: 11px auto 50px auto;background-color: #efefef;"></div>
|
|
||||||
<script type="text/javascript">ootag.queue.push(function () {ootag.defineSlot({adSlot: "nhgooi_article_top",targetId: "nhgooi_article_top",filledCallback: (adslot) => { calculateSize(adslot.targetId); }});});</script>
|
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
<div class="col-12 col-md content_container">
|
<div class="col-12 col-md content_container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -47,7 +43,7 @@
|
|||||||
|
|
||||||
@include('widgets/contact', [])
|
@include('widgets/contact', [])
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => 'nhgooi_article_side' ?? false, 'ad_sidebarId' => 'nhgooi_sidebar1'])
|
@include('widgets.banner_sidebar')
|
||||||
|
|
||||||
<div class="podcast_items">
|
<div class="podcast_items">
|
||||||
<h4 class="box_header small"><span>Fragment gemist</span></h4>
|
<h4 class="box_header small"><span>Fragment gemist</span></h4>
|
||||||
@@ -56,7 +52,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => 'nhgooi_article_side2' ?? false, 'ad_sidebarId' => 'nhgooi_sidebar2'])
|
@include('widgets.banner_sidebar')
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,13 +3,13 @@
|
|||||||
@include('widgets/mediaplayer')
|
@include('widgets/mediaplayer')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
@if($podcast)
|
@if($podcast)
|
||||||
{{ $podcast->title }}
|
{{ $podcast->title }}
|
||||||
@elseif($isPodcast)
|
@elseif($isPodcast)
|
||||||
NH Gooi Podcast
|
NH Gooi Podcast
|
||||||
@else
|
@else
|
||||||
Fragment gemist
|
Fragment gemist
|
||||||
@endif
|
@endif
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('page_class')
|
@section('page_class')
|
||||||
@@ -20,11 +20,11 @@
|
|||||||
<ul class="bread_crumb">
|
<ul class="bread_crumb">
|
||||||
<li><a title="Home" href="/">Home</a></li>
|
<li><a title="Home" href="/">Home</a></li>
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
@if($isPodcast)
|
@if($isPodcast)
|
||||||
<li>NH Gooi podcast</li>
|
<li>NH Gooi podcast</li>
|
||||||
@else
|
@else
|
||||||
<li><a title="Home" href="/gemist/fragment">Fragment gemist</a></li>
|
<li><a title="Home" href="/gemist/fragment">Fragment gemist</a></li>
|
||||||
@endif
|
@endif
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
@if($podcast && $podcast->program)
|
@if($podcast && $podcast->program)
|
||||||
<li><a title="{{$podcast->program->name}}"
|
<li><a title="{{$podcast->program->name}}"
|
||||||
@@ -112,14 +112,19 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="announcement">
|
<div class="announcement">
|
||||||
<audio controls>
|
@include("widgets.audioplayer", [
|
||||||
<source src="{{$streamUrl}}" type="audio/mpeg"/>
|
'isStream' => false,
|
||||||
</audio>
|
'source' => $streamUrl,
|
||||||
|
'lengte' => $podcast->duration / 1000,
|
||||||
|
'waveform' => $podcast->waveform
|
||||||
|
])
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<a class="action_button btn" href="{{$audioUrl}}" title="Download dit fragment als MP3">
|
<a class="action_button btn" href="{{$audioUrl}}"
|
||||||
|
title="Download dit fragment als MP3">
|
||||||
<span>Download fragment</span>
|
<span>Download fragment</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="action_button btn player" href="{{$popoutUrl}}">
|
<a class="action_button btn player" href="{{$popoutUrl}}" onclick="pause()">
|
||||||
<span>Luister in nieuw venster</span>
|
<span>Luister in nieuw venster</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -156,7 +161,8 @@
|
|||||||
<div data-tabs>
|
<div data-tabs>
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<h4 data-tab-content-id="tab_more_fragmenten"
|
<h4 data-tab-content-id="tab_more_fragmenten"
|
||||||
class="box_header small flex-grow-1 active"><span>Meer {{$isPodcast ? 'afleveringen' : 'fragmenten'}}</span>
|
class="box_header small flex-grow-1 active">
|
||||||
|
<span>Meer {{$isPodcast ? 'afleveringen' : 'fragmenten'}}</span>
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="tab_more_fragmenten" class="box tab_content podcast_items active">
|
<div id="tab_more_fragmenten" class="box tab_content podcast_items active">
|
||||||
@@ -170,8 +176,8 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => $ad_sidebar1 ?? 'nhgooi_section_side', 'ad_sidebarId' => 'nhgooi_sidebar1'])
|
@include('widgets.banner_sidebar')
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@endsection
|
@endsection
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
</p>
|
</p>
|
||||||
@else
|
@else
|
||||||
<p class="page_body">Hele uitzendingen kunt u binnen twee weken terugluisteren via <a
|
<p class="page_body">Hele uitzendingen kunt u binnen twee weken terugluisteren via <a
|
||||||
href="{{route('gemist.programma')}}">programma gemist</a>.<br /><br />
|
href="{{route('gemist.programma')}}">programma gemist</a>.<br/><br/>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if(isset($podcasts))
|
@if(isset($podcasts))
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => $ad_sidebar1 ?? 'nhgooi_section_side', 'ad_sidebarId' => 'nhgooi_sidebar1'])
|
@include('widgets.banner_sidebar')
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
@extends('layouts/full')
|
@extends('layouts/full')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
@if(isset($program))
|
@if(isset($program))
|
||||||
{{ $program->name }}
|
{{ $program->name }}
|
||||||
@else
|
@else
|
||||||
NH Gooi Podcast
|
NH Gooi Podcast
|
||||||
@endif
|
@endif
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('page_class')
|
@section('page_class')
|
||||||
@@ -40,18 +40,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@if($podcasts)
|
@if($podcasts)
|
||||||
|
|
||||||
<div class="page_layout clearfix">
|
<div class="page_layout clearfix">
|
||||||
<div class="grid" id="items">
|
<div class="grid" id="items">
|
||||||
@include('partial/podcastdirectitems', ['podcasts' => array_slice($podcasts, 0, 2), 'isPodcast' => $isPodcast])
|
@include('partial/podcastdirectitems', ['podcasts' => array_slice($podcasts, 0, 2), 'isPodcast' => $isPodcast])
|
||||||
</div><!--/.row-->
|
</div><!--/.row-->
|
||||||
</div>
|
</div>
|
||||||
@else
|
@else
|
||||||
<div class="box full-width">
|
<div class="box full-width">
|
||||||
<p class="page_body">Er zijn geen items beschikbaar.</p>
|
<p class="page_body">Er zijn geen items beschikbaar.</p>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-auto sidebar">
|
<div class="col-12 col-md-auto sidebar">
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => $ad_sidebar1 ?? 'nhgooi_section_side', 'ad_sidebarId' => 'nhgooi_sidebar1'])
|
@include('widgets.banner_sidebar')
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
@extends('layouts/full')
|
@extends('layouts/full')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Programma gemist
|
Programma gemist
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('page_class')news_post post_container @endsection
|
@section('page_class')
|
||||||
|
news_post post_container
|
||||||
|
@endsection
|
||||||
|
|
||||||
@section('breadcrumb')
|
@section('breadcrumb')
|
||||||
@if(isset($program))
|
@if(isset($program))
|
||||||
@@ -51,7 +53,8 @@
|
|||||||
class="btn btn-info">Programmainfo</a>
|
class="btn btn-info">Programmainfo</a>
|
||||||
</p>
|
</p>
|
||||||
@else
|
@else
|
||||||
<p class="page_body">U kunt programma's terugluisteren tot twee weken na uitzending. Items blijven onbeperkt beschikbaar via <a href="{{route('gemist.fragment')}}">fragment gemist</a>.<br /><br />
|
<p class="page_body">U kunt programma's terugluisteren tot twee weken na uitzending. Items blijven
|
||||||
|
onbeperkt beschikbaar via <a href="{{route('gemist.fragment')}}">fragment gemist</a>.<br/><br/>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if(isset($programs))
|
@if(isset($programs))
|
||||||
@@ -106,20 +109,31 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@include('widgets/add_sidebar', ['ad_sidebar' => $ad_sidebar1 ?? 'nhgooi_section_side', 'ad_sidebarId' => 'nhgooi_sidebar1'])
|
@include('widgets.banner_sidebar')
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<style>
|
<style>
|
||||||
@keyframes tilt-shaking {
|
@keyframes tilt-shaking {
|
||||||
0% { transform: rotate(0deg); }
|
0% {
|
||||||
25% { transform: rotate(5deg); }
|
transform: rotate(0deg);
|
||||||
50% { transform: rotate(0deg); }
|
}
|
||||||
75% { transform: rotate(-5deg); }
|
25% {
|
||||||
100% { transform: rotate(0deg); }
|
transform: rotate(5deg);
|
||||||
}
|
}
|
||||||
.post_container .post_tags li a {
|
50% {
|
||||||
animation: tilt-shaking 1s linear infinite;
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
</style>
|
75% {
|
||||||
|
transform: rotate(-5deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.post_container .post_tags li a {
|
||||||
|
animation: tilt-shaking 1s linear infinite;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@endsection
|
@endsection
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
@if ($ad_sidebar && (!isset($disableBanners) || !$disableBanners))
|
|
||||||
<div style="width: 100%; font-family: Nunito,serif;font-size: 12px;font-weight: 500;line-height: 3.17;text-align: center;color: #666;">
|
|
||||||
- Advertentie -
|
|
||||||
</div>
|
|
||||||
<div id="{{$ad_sidebarId}}" style="width: 100%;height: 275px;margin: 11px auto 50px auto;background-color: #efefef;"></div>
|
|
||||||
<script type="text/javascript">ootag.queue.push(function () {ootag.defineSlot({adSlot: "{{$ad_sidebar}}",targetId: "{{$ad_sidebarId}}",adShownCallback: (adslot) => { calculateSize(adslot.targetId); }});});</script>
|
|
||||||
@endif
|
|
||||||
@@ -0,0 +1,176 @@
|
|||||||
|
<?php $id = uniqid('player_'); ?>
|
||||||
|
<div class="audioplayer" id="{{ $id }}">
|
||||||
|
@if(!$isStream)
|
||||||
|
<div class="waveform">
|
||||||
|
<div class="time">0:00</div>
|
||||||
|
<div class="duration">0:00</div>
|
||||||
|
<div class="hover"></div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
<div class="volume-controls">
|
||||||
|
<button class="btn-toggle-mute" type="button" onclick="toggleMute()">
|
||||||
|
<span class="fa fa-volume-high"></span>
|
||||||
|
</button>
|
||||||
|
<input class="volume-slider" type="range" min="0" max="1" step="0.01" value="1"
|
||||||
|
onchange="setVolume( this.value )" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="audio-controls">
|
||||||
|
@if(!$isStream)
|
||||||
|
<button class="btn btn-jump" type="button" onclick="wavesurfer_{{ $id }}.skip(-60)">
|
||||||
|
<span class="fa fa-backward-fast"></span>
|
||||||
|
<label>-60 s</label>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-jump" type="button" onclick="wavesurfer_{{ $id }}.skip(-10)">
|
||||||
|
<span class="fa fa-backward-step"></span>
|
||||||
|
<label>-10 s</label>
|
||||||
|
</button>
|
||||||
|
@endif
|
||||||
|
<button class="btn btn-play" type="button" onclick="playPause()">
|
||||||
|
<span class="play-button-icon fa fa-play"></span>
|
||||||
|
<label class="play-button-label">Afspelen</label>
|
||||||
|
</button>
|
||||||
|
@if(!$isStream)
|
||||||
|
<button class="btn btn-jump" type="button" onclick="wavesurfer_{{ $id }}.skip(10)">
|
||||||
|
<span class="fa fa-forward-step"></span>
|
||||||
|
<label>+10 s</label>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-jump" type="button" onclick="wavesurfer_{{ $id }}.skip(60)">
|
||||||
|
<span class="fa fa-forward-fast"></span>
|
||||||
|
<label>+60 s</label>
|
||||||
|
</button>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@if($isStream)
|
||||||
|
|
||||||
|
<audio id="audio_{{ $id }}">
|
||||||
|
<source src="{{ $source }}" type="audio/mp3" />
|
||||||
|
</audio>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var player_{{ $id }};
|
||||||
|
|
||||||
|
setVolume = volume => player_{{ $id }}.volume = volume;
|
||||||
|
function toggleMute () {
|
||||||
|
var isMuted = !player_{{ $id }}.muted;
|
||||||
|
player_{{ $id }}.muted = isMuted;
|
||||||
|
if(isMuted) {
|
||||||
|
$('#{{ $id }} .btn-toggle-mute').html('<span class="fa fa-volume-xmark"></span>');
|
||||||
|
$('#{{ $id }} .volume-slider').attr('disabled', 'disabled');
|
||||||
|
} else {
|
||||||
|
$('#{{ $id }} .btn-toggle-mute').html('<span class="fa fa-volume-high"></span>');
|
||||||
|
$('#{{ $id }} .volume-slider').removeAttr('disabled');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pause = () => player_{{ $id }}.pause();
|
||||||
|
|
||||||
|
function playPause() {
|
||||||
|
var player = player_{{ $id }};
|
||||||
|
if (player.paused) {
|
||||||
|
player.play();
|
||||||
|
} else {
|
||||||
|
player.pause();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
addEventListener("DOMContentLoaded", function() {
|
||||||
|
var player = document.getElementById( "audio_{{ $id }}");
|
||||||
|
player_{{ $id }} = player;
|
||||||
|
|
||||||
|
$(player_{{ $id }}).on('play', () => {
|
||||||
|
$('#{{ $id }} .play-button-icon').addClass('fa-pause').removeClass('fa-play');
|
||||||
|
$('#{{ $id }} .play-button-label').text('Pauzeren');
|
||||||
|
})
|
||||||
|
$(player_{{ $id }}).on('pause', () => {
|
||||||
|
$('#{{ $id }} .play-button-icon').addClass('fa-play').removeClass('fa-pause');
|
||||||
|
$('#{{ $id }} .play-button-label').text('Verder spelen');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
@else
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var wavesurfer_{{ $id }};
|
||||||
|
|
||||||
|
setVolume = volume => wavesurfer_{{ $id }}.setVolume( volume );
|
||||||
|
playPause = () => wavesurfer_{{ $id }}.playPause();
|
||||||
|
pause = () => wavesurfer_{{ $id }}.pause();
|
||||||
|
|
||||||
|
function toggleMute () {
|
||||||
|
var isMuted = !wavesurfer_{{ $id }}.getMuted();
|
||||||
|
wavesurfer_{{ $id }}.setMuted(isMuted);
|
||||||
|
if(isMuted) {
|
||||||
|
$('#{{ $id }} .btn-toggle-mute').html('<span class="fa fa-volume-xmark"></span>');
|
||||||
|
$('#{{ $id }} .volume-slider').attr('disabled', 'disabled');
|
||||||
|
} else {
|
||||||
|
$('#{{ $id }} .btn-toggle-mute').html('<span class="fa fa-volume-high"></span>');
|
||||||
|
$('#{{ $id }} .volume-slider').removeAttr('disabled');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
addEventListener("DOMContentLoaded", function() {
|
||||||
|
const canvas = document.createElement('canvas')
|
||||||
|
const ctx = canvas.getContext('2d')
|
||||||
|
|
||||||
|
// Create the waveform
|
||||||
|
wavesurfer_{{ $id }} = WaveSurfer.create({
|
||||||
|
container: '#{{ $id }} .waveform',
|
||||||
|
waveColor: '#3A96EE',
|
||||||
|
progressColor: '#0118A1',
|
||||||
|
height: 50,
|
||||||
|
barWidth: 1,
|
||||||
|
@if(isset($lengte))
|
||||||
|
duration: {{ $lengte }},
|
||||||
|
@endif
|
||||||
|
@if($waveform)
|
||||||
|
peaks: {{ json_encode($waveform->data) }},
|
||||||
|
normalize: true,
|
||||||
|
@endif
|
||||||
|
|
||||||
|
url: '{{ $source }}',
|
||||||
|
});
|
||||||
|
|
||||||
|
// Play/pause on click
|
||||||
|
wavesurfer_{{ $id }}.on('click', () => {
|
||||||
|
wavesurfer_{{ $id }}.play();
|
||||||
|
})
|
||||||
|
wavesurfer_{{ $id }}.on('play', () => {
|
||||||
|
$('#{{ $id }} .play-button-icon').addClass('fa-pause').removeClass('fa-play');
|
||||||
|
$('#{{ $id }} .play-button-label').text('Pauzeren');
|
||||||
|
})
|
||||||
|
wavesurfer_{{ $id }}.on('pause', () => {
|
||||||
|
$('#{{ $id }} .play-button-icon').addClass('fa-play').removeClass('fa-pause');
|
||||||
|
$('#{{ $id }} .play-button-label').text('Verder spelen');
|
||||||
|
})
|
||||||
|
|
||||||
|
// Hover effect
|
||||||
|
{
|
||||||
|
const hover = document.querySelector('#{{ $id }} .hover')
|
||||||
|
const waveform = document.querySelector('#{{ $id }} .waveform')
|
||||||
|
waveform.addEventListener('pointermove', (e) => (hover.style.width = `${e.offsetX}px`))
|
||||||
|
}
|
||||||
|
|
||||||
|
// Current time & duration
|
||||||
|
{
|
||||||
|
const formatTime = (seconds) => {
|
||||||
|
const minutes = Math.floor(seconds / 60)
|
||||||
|
const secondsRemainder = Math.round(seconds) % 60
|
||||||
|
const paddedSeconds = `0${secondsRemainder}`.slice(-2)
|
||||||
|
return `${minutes}:${paddedSeconds}`
|
||||||
|
}
|
||||||
|
|
||||||
|
const timeEl = document.querySelector('#{{ $id }} .time')
|
||||||
|
const durationEl = document.querySelector('#{{ $id }} .duration')
|
||||||
|
wavesurfer_{{ $id }}.on('decode', (duration) => (durationEl.textContent = formatTime(duration)))
|
||||||
|
wavesurfer_{{ $id }}.on('timeupdate', (currentTime) => (timeEl.textContent = formatTime(currentTime)))
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
@endif
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
@if (!isset($disableBanners) || !$disableBanners)
|
||||||
|
<ins data-revive-zoneid="2" data-revive-id="{{ env('REVIVE_ID') }}"></ins>
|
||||||
|
@endif
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
@endif
|
@endif
|
||||||
<p class="now-playing-header-small">
|
<p class="now-playing-header-small">
|
||||||
<strong>Nu:</strong>
|
<strong>Nu:</strong>
|
||||||
<span class="title"></span> -
|
<span class="artist"></span> -
|
||||||
<span class="artist"></span>
|
<span class="title"></span>
|
||||||
</p>
|
</p>
|
||||||
<script type="text/javascript" src="/js/jquery-3.7.1.min.js"></script>
|
<script type="text/javascript" src="/js/jquery-3.7.1.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in new issue
Block a user