issue #11 Changed URI handling scheme to using absloute url.

This commit is contained in:
Paul Kim
2024-03-11 17:50:22 +09:00
parent 0365efb3c1
commit d0e86fb9fd
2 changed files with 15 additions and 15 deletions

View File

@@ -289,9 +289,9 @@ HotelTV.ui_appfull = (function() {
"HDMI-" + _evt.index + " : " + "connected = " + _evt.connected
);
if ( _state.menu.stage.cur=="tvCtgShow" ||
_state.menu.stage.cur=="tvCtgHide" ||
_state.menu.stage.cur=="tvShortcut" ||
if ( _state.menu.stage.cur=="tvCtgShow" ||
_state.menu.stage.cur=="tvCtgHide" ||
_state.menu.stage.cur=="tvShortcut" ||
_state.menu.stage.cur=="tvPreparing" )
{
console.warn("HDMI input doesn't work tv mode");
@@ -645,7 +645,7 @@ HotelTV.ui_appfull = (function() {
var _elTbl_OdItemsRec = document.createElement('table');
_elTbl_OdItemsRec.className = "tbl_record";
let _elTBody_OdItmesRec = document.createElement('tbody');
let _elTBody_OdItmesRec = document.createElement('tbody');
{
_elTBody_OdItmesRec.setAttribute("id", "record");
for (let _j = 1; _j <= _Order.items.length; _j++) {
@@ -2960,7 +2960,7 @@ HotelTV.ui_appfull = (function() {
// $('.popup>.mypage>.message>#msg_ctz').css('font-size', '32px');
// break;
// }
if (_cur_msgdesc.multilanguage == true) {
$('.popup>.mypage>.message>#title').text(_cur_msgdesc.title[_state.lang]);
$('.popup>.mypage>.message>#msg_ctz').html(_cur_msgdesc.content[_state.lang].replace(/(?:\r\n|\r|\n)/g, '<br>'));
@@ -2969,22 +2969,22 @@ HotelTV.ui_appfull = (function() {
$('.popup>.mypage>.message>#msg_ctz').html(_cur_msgdesc.content.default.replace(/(?:\r\n|\r|\n)/g, '<br>'));
}
}
else
else
{
let _imgmsg_url = null;
// 혹시 모를 타이틀 제거
// 혹시 모를 타이틀 제거
$('.popup>.mypage>.message>#title').empty();
// 혹시 모를 html콘텐츠 제거
// 혹시 모를 html콘텐츠 제거
$('.popup>.mypage>.message>#msg_ctz').empty();
// Image 타입 메시지
if (_cur_msgdesc.multilanguage == false)
if (_cur_msgdesc.multilanguage == false)
{
_imgmsg_url = _cur_msgdesc.imageContent.default.download;
}
else
else
{
_imgmsg_url = _cur_msgdesc.imageContent[_state.lang].download;
}
@@ -3016,7 +3016,7 @@ HotelTV.ui_appfull = (function() {
$('.main .mm').show(function() {
$('#lst_mmsel').trigger('refresh.owl.carousel', [0]);
});
$('.main').animate({ top: 0, left: 0 }, 1000, () => {
$('#lst_mypagesel').off('translate.owl.carousel');
@@ -3041,7 +3041,7 @@ HotelTV.ui_appfull = (function() {
_state.menu.stage.prev = _state.menu.stage.cur;
_state.menu.stage.cur = "mypage_replay_welcome_vod"
HotelTV.hcap.MediaPlay(
HotelTV.api.GetBaseUrl() + uri_video,
uri_video,
"",
"video/mp4",
1,
@@ -3294,7 +3294,7 @@ HotelTV.ui_appfull = (function() {
const __fxn_updateLastChIdxState = function(_ch_number) {
let _state = HotelTV.state;
let _mmIdx = _state.menu.main.cur;
for (let _ctgidx = 1; _ctgidx <= _tvProg.length; _ctgidx++) {
let _matched_ch_idx=null;
let _ch_info = _tvProg[_ctgidx].channels;
@@ -4048,7 +4048,7 @@ HotelTV.ui_appfull = (function() {
let uri_video = $($('.main .ctzgen .bg .owl-carousel .owl-item.active .ctz_mv_ctrl')[0]).attr('video_url');
if (uri_video != null) {
HotelTV.hcap.MediaPlay(
HotelTV.api.GetBaseUrl() + uri_video,
uri_video,
"",
"video/mp4",
1,

View File

@@ -321,7 +321,7 @@ HotelTV.ui_welcome = (function() {
/** Play movie clip */
HotelTV.hcap.MediaPlay(
HotelTV.api.GetBaseUrl() + _ctzWc.videos[_state.lang].download,
_ctzWc.videos[_state.lang].download,
null,
"video/mp4",
1,