Tỉnh Thanh Hóa khai quật đền cổ hơn 400 năm tuổi thờ Nguyễn Văn Nghi – vị quan từng là thầy dạy hai vua nhà Hậu Lê, làm cơ sở khoa học bảo tồn, phục dựng di tích.
Chủ tịch UBND tỉnh Thanh Hóa vừa phê duyệt dự án khai quật khảo cổ tổng thể di tích lịch sử văn hóa, kiến trúc nghệ thuật đền thờ Nguyễn Văn Nghi tại phường Đông Tiến, với tổng kinh phí gần 9 tỷ đồng.
Ngôi đền có kiến trúc tương đồng với thành nhà Hồ ở xã Tây Đô. Ảnh: Lê Hoàng
Dự án do Sở Văn hóa Thể thao và Du lịch Thanh Hóa làm chủ đầu tư, triển khai tại khu vực bảo vệ cấp một của di tích, trên diện tích khoảng 1.800 m2. Thời gian thực hiện đến năm 2027.
Theo quyết định phê duyệt, mục tiêu của cuộc khai quật là bổ sung tư liệu khoa học, làm rõ phạm vi, quy mô, cấu trúc và các yếu tố kiến trúc liên quan của di tích. Kết quả khảo cổ sẽ là cơ sở quan trọng để xây dựng phương án tu bổ, phục dựng, phát huy giá trị khu đền cổ hơn 400 tuổi.
Đền thờ Nguyễn Văn Nghi nằm giữa cánh đồng rộng lớn ở phường Đông Tiến, có diện tích khoảng 38.000 m2. Công trình gây ấn tượng bởi hệ thống thành đá, cổng vòm và không gian kiến trúc được ví như một “kinh đô thu nhỏ” giữa vùng quê xứ Thanh.

Đền thờ Nguyễn Văn Nghi nằm giữa cánh đồng rộng lớn tại phường Đông Tiến. Ảnh: Lê Hoàng
Theo sử liệu, đền được xây dựng năm 1617 dưới niên hiệu Hoàng Định thứ 18 đời vua Lê Kính Tông. Sau đó công trình được con cháu nhiều lần tu sửa, mở rộng. Toàn bộ khu di tích được thiết kế theo kiểu “nội công ngoại quốc”, bao quanh bởi hai vòng thành khép kín gồm thành ngoài bằng đất và thành trong bằng đá.
Điểm đặc biệt của di tích là cổng đền được tạo thành từ những phiến đá lớn ghè đẽo, xếp chồng khít lên nhau, kết hợp với phần mái vòm bằng gạch nung. Kiểu kiến trúc này có nhiều nét tương đồng với cổng thành của thành nhà Hồ, vì vậy nơi đây còn được gọi là “thành nhà Hồ thu nhỏ”.
Dọc lối vào đền là hai hàng tượng đá gồm voi, ngựa, chó đá và tượng lính canh. Gần khu vực này còn có các bia đá nguyên khối nặng 5-7 tấn, trên mặt bia khắc chữ Hán ghi lại công trạng, sự nghiệp của Nguyễn Văn Nghi.

Hệ thống tượng thờ, bia đá còn khá nguyên vẹn ở đền thờ Nguyễn Văn Nghi. Ảnh: Lê Hoàng
Nguyễn Văn Nghi sinh năm 1515, quê làng Ngọc Bội (nay thuộc phường Đông Tiến). Năm 1554, ông đỗ Nhất giáp Chế khoa dưới triều vua Lê Trung Tông, sau đó giữ nhiều chức vụ quan trọng như Đông các hiệu thư, Tham chính Nghệ An, Tả thị lang Bộ Lại, Đông các học sĩ.
Ông từng là thầy dạy của hai vua Lê Anh Tông và Lê Thế Tông, được triều đình và nhân dân đánh giá cao về tài năng, đức độ. Sau khi qua đời, ông được truy tôn Thượng thư bộ Công, gia thăng Thái bảo và được lập đền thờ tại quê nhà.
Tuy nhiên, sau hơn bốn thế kỷ tồn tại, nhiều hạng mục của khu di tích đã xuống cấp. Những tuyến đường lát đá nguyên khối dẫn vào đền bị xô lệch, nhiều tượng đá bị nứt, rêu phủ. Các công trình từng có quy mô lớn như bái đường, tiền điện, hậu điện hiện chỉ còn nền móng.
Khu nhà thờ chính còn lại là gian nhà nhỏ nằm ở trung tâm di tích, với hệ thống cột, kèo, xà ngang đã cũ, phần mái ngói mũi hài có dấu hiệu xuống cấp, ảnh hưởng đến sự an toàn của công trình.
if(document.getElementById(“link_ga_midpoint_zplayer_3e7f01″)){
send_tracking_video(”, ”, 1774124, 46, ”, ‘pc’, ‘midpoint’, ”, ”, 5);
}
}
});
videozplayer_3e7f01.player.on(“content_third_quarter”, function(){
// Gọi GA load video
if(v_videoviewership_log_zplayer_3e7f01){
// Tao thẻ div để chưa link GA
$(“”).insertBefore(“#zplayer_3e7f01_ga_videoviewership”);
if(document.getElementById(“link_ga_third_zplayer_3e7f01″)){
send_tracking_video(”, ”, 1774124, 46, ”, ‘pc’, ‘third_quarter’, ”, ”, 5);
}
}
});
videozplayer_3e7f01.player.on(“content_complete”, function(){
// Gọi GA load video
if(v_videoviewership_log_zplayer_3e7f01){
// Tao thẻ div để chưa link GA
$(“”).insertBefore(“#zplayer_3e7f01_ga_videoviewership”);
if(document.getElementById(“link_ga_complete_zplayer_3e7f01″)){
send_tracking_video(”, ”, 1774124, 46, ”, ‘pc’, ‘complete’, ”, ”, 5);
}
}
});
videozplayer_3e7f01.player.on(“miniPlayerClosed”, function(){
// Gọi GA load video
if(v_videoviewership_log_zplayer_3e7f01){
// Tao thẻ div để chưa link GA
$(“”).insertBefore(“#zplayer_3e7f01_ga_videoviewership”);
if(document.getElementById(“link_ga_mini_close_zplayer_3e7f01″)){
send_tracking_video(”, ”, 1774124, 46, ”, ‘pc’, ‘click_close’, ”, ”, 5);
}
}
});
// End 12-12-2018 trungcq XLCYCMHENG_33549_xu_ly_scroll_to_top
var v_event_tracking_impression_prerollzplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_preroll”);
// các trường hợp mã lỗi của trình duyệt trả về
videozplayer_3e7f01.player.on(“AE_impression”, function(name) {
// Gọi GA load video
if(v_event_tracking_impression_prerollzplayer_3e7f01){
// Tao thẻ div để chưa link GA
$(“”).insertBefore(“#zplayer_3e7f01_ga_preroll”);
if(document.getElementById(“link_ga_tracking_impression_preroll_zplayer_3e7f01”)){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 46, ‘daily_news’, ‘pc’, ‘impression’, ‘no’, ‘no’, 2, ‘video_noi_dung’);});
}
}
});
var v_event_tracking_click_prerollzplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_preroll”);
// các trường hợp mã lỗi của trình duyệt trả về
videozplayer_3e7f01.player.on(“AE_clicked”, function(name) {
// Gọi GA load video
if(v_event_tracking_click_prerollzplayer_3e7f01){
// Tao thẻ div để chưa link GA
$(“”).insertBefore(“#zplayer_3e7f01_ga_preroll”);
if(document.getElementById(“link_ga_tracking_click_preroll_zplayer_3e7f01”)){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 46, ‘daily_news’, ‘pc’, ‘ads_click’, ‘no’, ‘no’, 2, ‘video_noi_dung’);});
}
}
});
var v_err_log_1zplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_error1”);
// các trường hợp mã lỗi của trình duyệt trả về
videozplayer_3e7f01.player.on(“MEDIA_ERROR_1″, function (name) {
// Gọi GA load video
if(v_err_log_1zplayer_3e7f01){
send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘error_ERROR_1’, ‘no’, ‘no’, 1, ‘video_noi_dung’);
}
});
var v_err_log_2zplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_error2”);
videozplayer_3e7f01.player.on(“MEDIA_ERROR_2″, function (name) {
// Gọi GA load video
if(v_err_log_2zplayer_3e7f01){
send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘error_ERROR_2’, ‘no’, ‘no’, 1, ‘video_noi_dung’);
}
});
var v_err_log_3zplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_error3”);
videozplayer_3e7f01.player.on(“MEDIA_ERROR_3″, function (name) {
// Gọi GA load video
if(v_err_log_3zplayer_3e7f01){
send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘error_ERROR_3’, ‘no’, ‘no’, 1, ‘video_noi_dung’);
}
});
var v_err_log_4zplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_error4”);
videozplayer_3e7f01.player.on(“MEDIA_ERROR_4″, function (name) {
// Gọi GA load video
if(v_err_log_4zplayer_3e7f01){
send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘error_ERROR_4’, ‘no’, ‘no’, 1, ‘video_noi_dung’);
}
});
var v_err_log_5zplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_error5”);
videozplayer_3e7f01.player.on(“MEDIA_ERROR_5″, function (name) {
// Gọi GA load video
if(v_err_log_5zplayer_3e7f01){
send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘error_ERROR_5’, ‘no’, ‘no’, 1, ‘video_noi_dung’);
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_1”, function(){
console.log(“track_slow_playlist_next_1”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f011 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f011”);
if(v_track_slow_playlist_zplayer_3e7f011){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_2”, function(){
console.log(“track_slow_playlist_next_2”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f012 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f012”);
if(v_track_slow_playlist_zplayer_3e7f012){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_3”, function(){
console.log(“track_slow_playlist_next_3”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f013 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f013”);
if(v_track_slow_playlist_zplayer_3e7f013){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_4”, function(){
console.log(“track_slow_playlist_next_4”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f014 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f014”);
if(v_track_slow_playlist_zplayer_3e7f014){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_5”, function(){
console.log(“track_slow_playlist_next_5”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f015 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f015”);
if(v_track_slow_playlist_zplayer_3e7f015){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_6”, function(){
console.log(“track_slow_playlist_next_6”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f016 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f016”);
if(v_track_slow_playlist_zplayer_3e7f016){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_7”, function(){
console.log(“track_slow_playlist_next_7”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f017 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f017”);
if(v_track_slow_playlist_zplayer_3e7f017){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_8”, function(){
console.log(“track_slow_playlist_next_8”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f018 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f018”);
if(v_track_slow_playlist_zplayer_3e7f018){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_9”, function(){
console.log(“track_slow_playlist_next_9”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f019 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f019”);
if(v_track_slow_playlist_zplayer_3e7f019){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“track_slow_playlist_next_10”, function(){
console.log(“track_slow_playlist_next_10”);
$(“”).insertBefore(“#zplayer_3e7f01_ga_media_slow_waiting”);
var v_track_slow_playlist_zplayer_3e7f0110 = document.getElementById(“link_slow_playlist_next_zplayer_3e7f0110”);
if(v_track_slow_playlist_zplayer_3e7f0110){
window.addEventListener(“load”, function(){send_tracking_video(”, ‘none’, 1774124, 0, ”, ‘pc’, ‘slow_playlist_next’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
}
});
videozplayer_3e7f01.player.on(“timeupdated”, function () {
if (count_time_update_zplayer_3e7f01 < 50) {
count_time_update_zplayer_3e7f01++;
// console.log(“AE TIME UPDATE: “+count_time_update_zplayer_3e7f01);
}
if(v_load_recommend_boxzplayer_3e7f01 && typeof(v_thoi_luong_hien_thi) != “undefined” && v_thoi_luong_hien_thi != “”){
try{
var v_time_current = videozplayer_3e7f01.player.currentTime();
if(v_time_current > 0){
if(v_time_current >= v_thoi_luong_hien_thi){
function getJsonRecomment(url,callback){
if(url == “”){
return “”;
}
dynamicIdLive = new Date().valueOf();
url = url+dynamicIdLive;
var xhr = new XMLHttpRequest();
// Get url
xhr.open(“GET”, url, true);
// Kiểu phản hồi
xhr.responseType = “json”;
xhr.timeout = 50000; // Set timeout to 2 seconds
xhr.ontimeout = function () {console.log(url+” – timeout”);}
// Load data
xhr.onload = function() {
var status = xhr.status;
if (status == 200) {
callback(xhr.response);
}else{
console.log(“B3: status != 200”);
}
};
xhr.send();
}
if(typeof v_url_json_data_recomment != “undefined” && typeof tao_html_recommend_video_tu_object == “function”){
getJsonRecomment(v_url_json_data_recomment,function(v_object_recomend){
if(typeof v_object_recomend != “undefined” && parseInt(v_object_recomend.length) > 0){
var recomment_arr_video_ngay_hien_tai = _getStorageJson24h(“recomment_video_ngay_hien_tai_data_news_id”);
var recomment_video_ngay_hom_qua_data_news_id = _getStorageJson24h(“recomment_video_ngay_hom_qua_data_news_id”);
// Lặp để loại bỏ những bài đang xem
var arr_recomend_video = new Array();
var k=0;
var v_so_luong_tin_hien_thi = parseInt(v_object_recomend[0][“c_tong_so_luong_tin_hien_thi”]);
for(j=0;j 0){
if(v_recomment_news_id== parseInt(v_object_recomend[j][“c_new_id”])){
continue;
}
if(typeof(recomment_arr_video_ngay_hien_tai) != “undefined” && recomment_arr_video_ngay_hien_tai.indexOf(parseInt(v_object_recomend[j][“c_new_id”])) >= 0){
continue;
}
if(typeof(recomment_video_ngay_hom_qua_data_news_id) != “undefined” && recomment_video_ngay_hom_qua_data_news_id.indexOf(parseInt(v_object_recomend[j][“c_new_id”])) >= 0){
continue;
}
}
arr_recomend_video[k] = v_object_recomend[j];
k++;
if(k >= v_so_luong_tin_hien_thi){
break;
}
}
var v_total_page_recommend =0;
v_total_page_recommend = parseInt(Math.ceil(parseInt(arr_recomend_video.length)/parseInt(v_object_recomend[0][“c_number_items”])));
// Tao HTML video recommend
arr_recomend_video[0][“c_tracking_onclick”] = “”;
arr_recomend_video[0][“c_tracking_onload”] = “”;
arr_recomend_video[0][“c_tracking_onload_gatag”] = “”;
var v_html_recomend = tao_html_recommend_video_tu_object(arr_recomend_video,”zplayer_3e7f01″);
// Gắn HTML vào chuỗi
if(v_html_recomend !=””){
// Nếu tồn tại video highlight
if ($(“#vjs-marker-tableinfo-zplayer_3e7f01”).length) {
$(“#vjs-marker-tableinfo-zplayer_3e7f01”).after(v_html_recomend);
} else {
if ($(“#zplayer_3e7f01_ga_preroll”).length) {
$(“#zplayer_3e7f01_ga_preroll”).before(v_html_recomend);
}
}
// Hiển thị dạng slide
if ($(“#box_recommend_zplayer_3e7f01”).length) {
$(“#box_recommend_zplayer_3e7f01”).show(1000);
setTimeout(function(){
create_slide_page_number_recommend_video_json(“swiper_recommend_v2018zplayer_3e7f01”, “swpier_container_zplayer_3e7f01″,”swiper_active_slide_zplayer_3e7f01”, “pagination-zplayer_3e7f01″,”wrapper_zplayer_3e7f01”,v_total_page_recommend, “swiper-slide slide_zplayer_3e7f01”, “prvVid_recommendzplayer_3e7f01”, “nxtVid_recommendzplayer_3e7f01”);
$(“#box_recommend_zplayer_3e7f01”).css(“height”, “”);
}, 900);
}
}
}
});
}
v_load_recommend_boxzplayer_3e7f01 = false;
}
}
}catch(e){
console.log([“Errors”, e]);
}
}
});
videozplayer_3e7f01.player.on(“MEDIA_SLOW_WAITING”, function (evt, data) {
//console.log(data.waitTime);
var v_slow_waiting_zplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_media_slow_waiting”);
if(v_slow_waiting_zplayer_3e7f01){
//đổi ms về s
v_so_giay_load = parseInt(data.waitTime/1000);
send_tracking_video(”, ”, 1774124, ”, ”, ”, ‘media_slow_waiting’, ”, ”, 6, v_so_giay_load);
}
//console.log(“listener MEDIA_SLOW_WAITING: “);
});
videozplayer_3e7f01.player.on(“MEDIA_SLOW_METADATA”, function (evt, data) {
//console.log(data.waitTime);
var v_slow_metadata_zplayer_3e7f01 = document.getElementById(“zplayer_3e7f01_ga_media_slow_metadata”);
if(v_slow_metadata_zplayer_3e7f01){
//đổi ms về s
v_so_giay_load_metadata = parseInt(data.waitTime/1000);
send_tracking_video(”, ”, 1774124, ”, ”, ”, ‘media_slow_metadata’, ”, ”, 6, v_so_giay_load_metadata);
}
//console.log(“listener MEDIA_SLOW_METADATA: “);
});
videozplayer_3e7f01.player.on(‘onPrerollStart’, function(name){
//console.log(‘ON PREROLL START’);
/* begin 4/10/2017 TuyenNT xu_ly_gan_ga_video_theo_loai_giai_dau_frontend_pc */
send_tracking_video(‘none’, ‘Null’, 1774124, 46, ‘daily_news’, ‘pc’, ‘preroll_impression’, ‘no’, ‘no’, 1, ‘video_noi_dung’);
/* end 4/10/2017 TuyenNT xu_ly_gan_ga_video_theo_loai_giai_dau_frontend_pc */
});videozplayer_3e7f01.player.on(‘onOverlayStart’, function(name){
//console.log(‘ON OVERLAY START’);
/* begin 4/10/2017 TuyenNT xu_ly_gan_ga_video_theo_loai_giai_dau_frontend_pc */
send_tracking_video(‘none’, ‘Null’, 1774124, 46, ‘daily_news’, ‘pc’, ‘overlay_impression’, ‘no’, ‘no’, 1, ‘video_noi_dung’);
/* end 4/10/2017 TuyenNT xu_ly_gan_ga_video_theo_loai_giai_dau_frontend_pc */
});videozplayer_3e7f01.player.on(‘onPostRollStart’, function(name){
//console.log(‘ON POSTROLL START’);
/* begin 4/10/2017 TuyenNT xu_ly_gan_ga_video_theo_loai_giai_dau_frontend_pc */
send_tracking_video(‘none’, ‘Null’, 1774124, 46, ‘daily_news’, ‘pc’, ‘postroll_impression’, ‘no’, ‘no’, 1, ‘video_noi_dung’);
/* end 4/10/2017 TuyenNT xu_ly_gan_ga_video_theo_loai_giai_dau_frontend_pc */
});
videozplayer_3e7f01.player.on([
“play”,
“playing”,
“adstart”,
“adplaying”,
], function (evt, data) {
if (typeof stop_video_news_live == “function”){
stop_video_news_live(“___”);
}
});
videozplayer_3e7f01.player.one([
“play”,
], function (e) {
let vastUri = this.vastUri;
let vastUriPost = this.vastUriPost;
let vastUriMid = this.vastUriMid;
// Neu co cau hinh autoplay nhung trình duyet k cho phep auto play thi gan tham so bang vpmute = 0
if(this.viewportAutoPlay == true && this.willAutoplay === false){
if(vastUri != “”){
this.vastUri = vastUri + “&vpmute=0”;
}
if(vastUriPost != “”){
this.vastUriPost = vastUriPost + “&vpmute=0”;
}
if(vastUriMid != “”){
this.vastUriMid = vastUriMid + “&vpmute=0”;
}
}
}.bind(videozplayer_3e7f01));
videozplayer_3e7f01.player.on([
“contentchanged”,
], function (e) {
this.player.one([
“playing”,
], function (e) {
var currentItem = this.isPlaylist ? this.player.playlist.currentItem() : 0;
// đợi player xử lý 1s mới bắt đầu check xem có chạy được không
setTimeout(function(){
// đã thay đổi item --> bỏ qua
var chk_currentItem = this.isPlaylist ? this.player.playlist.currentItem() : 0;
if (chk_currentItem != currentItem){
return;
}
var has_timeupdate = false;
this.player.one([
“timeupdate”,
], function (e) {
has_timeupdate = true;
});
setTimeout(function(){
if (has_timeupdate){
return;
}
if (this.player.paused()){
return;
}
this.dbglog(“timeupdate_missing --> try to restart”);
this.player.pause();
setTimeout(function(){
this.player.play();
}.bind(this), 100);
}.bind(this), 300);
}.bind(this), 1000);
}.bind(this));
}.bind(videozplayer_3e7f01));
videozplayer_3e7f01.player.on(“onStop”, function(name) {
//console.log(“listener onStop: “);
});
videozplayer_3e7f01.player.on(“onFullscreen”, function(name) {
// 20250808 – XLCYCMHENG-44473 – xử lý bỏ neo khi mở chế độ fullscreen
// đang ở chế độ neo
if (this.hasClass(“mini-player”)){
this.removeClasses([“mini-player”, “pc-mini-player”]);
this.minPlayerHideCloseBtn();
this.unminimizeOnFullscreen = true;
}
}.bind(videozplayer_3e7f01));
videozplayer_3e7f01.player.on(“onFullscreenOff”, function(name) {
// 20250808 – XLCYCMHENG-44473 – xử lý neo lại khi thoát chế độ fullscreen
// từng bỏ neo khi mở chế độ fullscreen
if (typeof this.unminimizeOnFullscreen != “undefined” && this.unminimizeOnFullscreen){
this.addClasses([“mini-player”, “pc-mini-player”]);
this.minPlayerDisplayCloseBtn();
this.unminimizeOnFullscreen = false;
}
}.bind(videozplayer_3e7f01));
}
videoAdsInitzplayer_3e7f01 = true;
}
// Ga video load luôn được chạy
window.addEventListener(“load”, function(){});window.addEventListener(“load”, function(){send_tracking_video(‘none’, ‘Null’, 1774124, 46, ‘daily_news’, ‘pc’, ‘view’, ‘no’, ‘no’, 1, ‘video_noi_dung’);});
function inViewport( element ){
// Get the elements position relative to the viewport
var bb = element.getBoundingClientRect();
// Check if the element is outside the viewport
// Then invert the returned value because you want to know the opposite
return !(bb.top > innerHeight || bb.bottom < 0);
}
var zplayer_3e7f01VpElm = document.getElementById( “zplayer_3e7f01” );
var viszplayer_3e7f01 = (function () {
var stateKey, eventKey, keys = {
hidden: “visibilitychange”,
webkitHidden: “webkitvisibilitychange”,
mozHidden: “mozvisibilitychange”,
msHidden: “msvisibilitychange”
};
for (stateKey in keys) {
if (stateKey in document) {
eventKey = keys[stateKey];
break;
}
}
return function (c) {
if (c) document.addEventListener(eventKey, c);
return !document[stateKey];
}
})();
var videoAds1Elmzplayer_3e7f01 = document.getElementById(“v-24hContainer_zplayer_3e7f01”);
document.addEventListener(“DOMContentLoaded”, function () {
if(videoAds1Elmzplayer_3e7f01){
var videoAdsInitzplayer_3e7f01 = false;
var checkTabActivezplayer_3e7f01 = setInterval(function () {
if (inViewport(videoAds1Elmzplayer_3e7f01) && viszplayer_3e7f01() && !videoAdsInitzplayer_3e7f01 && typeof(window.videojs) !== “undefined” && (typeof(google) !== “undefined” || adBlockCheckedStatus) && videoObj) {
initvideozplayer_3e7f01();
clearInterval(checkTabActivezplayer_3e7f01);
}
// 20230817 fix lỗi lần đầu vào đợi onload check chặn quảng cáo quá lâu
// XLCYCMHENG-42783 – async lib ima3 -> tăng thời gian chờ load ima3
else if (typeof videoObjRoot != “undefined” && videoObjRoot){
if (typeof videoAdsInitzplayer_3e7f01_fix_AdBlockCheck == “undefined”){
setTimeout(function(){
if (typeof adBlockCheckedStatus != “undefined” && !adBlockCheckedStatus){
adBlockCheckedStatus = true;
adBlockEnabled = false;
}
}, 2000);
videoAdsInitzplayer_3e7f01_fix_AdBlockCheck = true;
}
}
}, 100);
}
}, false);
//]]>
https://www.24h.com.vn/tin-tuc-trong-ngay/khai-quat-thanh-nha-ho-thu-nho-c46a1774124.html



