fix youtube bug
This commit is contained in:
parent
17551f5615
commit
301fe0a3c4
@ -309,7 +309,7 @@ class CourseController extends Controller
|
||||
remove_file($query->first()->banner);
|
||||
}
|
||||
|
||||
if($request->preview_video_provider == 'link'){
|
||||
if ($request->preview_link != '' ) {
|
||||
$data['preview'] = $request->preview_link;
|
||||
}elseif($request->preview_video_provider == 'file' && $request->preview){
|
||||
$data['preview'] = "uploads/course-preview/" . nice_file_name($request->title, $request->preview->extension());
|
||||
|
||||
@ -310,7 +310,7 @@ class CourseController extends Controller
|
||||
remove_file($query->first()->banner);
|
||||
}
|
||||
|
||||
if ($request->preview_video_provider == 'link') {
|
||||
if ($request->preview_link != '' ) {
|
||||
$data['preview'] = $request->preview_link;
|
||||
} elseif ($request->preview_video_provider == 'file' && $request->preview) {
|
||||
$data['preview'] = "uploads/course-preview/" . nice_file_name($request->title, $request->preview->extension());
|
||||
|
||||
@ -1,3 +1,29 @@
|
||||
<style>
|
||||
/* Hilangkan batasan tinggi agar kita bisa lihat apakah datanya muncul */
|
||||
.description.ellipsis-4 {
|
||||
-webkit-line-clamp: unset !important; /* Mematikan batasan 4 baris */
|
||||
display: block !important;
|
||||
height: auto !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Mengatur agar list dan blockquote tidak memakan banyak ruang */
|
||||
.description blockquote {
|
||||
margin: 5px 0 !important;
|
||||
padding: 0 10px !important;
|
||||
}
|
||||
|
||||
.description ul {
|
||||
list-style-type: disc !important;
|
||||
list-style-position: inside !important;
|
||||
margin-left: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.description li {
|
||||
display: list-item !important;
|
||||
}
|
||||
</style>
|
||||
<div class="ps-box p-0 shadow-none">
|
||||
<h4 class="g-title">{{ get_phrase('Course Overview') }}</h4>
|
||||
<div class="description ellipsis-4" id="ellipsis-4">
|
||||
@ -15,4 +41,4 @@
|
||||
|
||||
|
||||
</div>
|
||||
@include('frontend.default.course.faq_area')
|
||||
@include('frontend.default.course.faq_area')
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<div class="form-group mb-2">
|
||||
<label class="form-label ol-form-label">{{ get_phrase('Duration') }}</label>
|
||||
<small class="form-label text-12px d-hidden mb-0" id="perloader"><i class="fi-rr-loading mdi-loading "></i> {{ get_phrase('Analyzing') }}....</small>
|
||||
<input type="text" name="duration" id="duration" class="form-control ol-form-control" value="00:00:00" readonly>
|
||||
<input type="text" name="duration" id="duration" class="form-control ol-form-control" value="00:00:00" disabled>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<div class="form-group mb-2">
|
||||
<label class="form-label ol-form-label">{{ get_phrase('Duration') }}</label>
|
||||
<small class="form-label text-12px d-hidden mb-0" id="perloader"><i class="fi-rr-loading mdi-loading "></i> {{ get_phrase('Analyzing') }}....</small>
|
||||
<input default-seconds="{{ duration_to_seconds($lessons->duration) }}" type="text" name="duration" id="duration" class="form-control ol-form-control" readonly>
|
||||
<input default-seconds="{{ duration_to_seconds($lessons->duration) }}" type="text" name="duration" id="duration" class="form-control ol-form-control" disabled>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user