Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
53511fc5
Commit
53511fc5
authored
Mar 03, 2020
by
Jung Juyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TECCSプロジェクトのオーサリングツールに追加した「呼出リスト」ボタンをプレビューで表示できるように修正
parent
0f1d4b1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
67 deletions
+93
-67
abvw/js/contentview.js
+82
-67
abvw/js/contentview_GetData.js
+11
-0
No files found.
abvw/js/contentview.js
View file @
53511fc5
...
...
@@ -1642,7 +1642,7 @@ CONTENTVIEW.oldContent_Back = function() {
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_NoFile
){
CONTENTVIEW
.
changePageWithoutSlide
(
oldContent
.
oldPageIndex
);
}
/*remove*/
oldDataBack
.
splice
(
oldDataBack
.
length
-
1
,
1
);
...
...
@@ -2104,27 +2104,27 @@ CONTENTVIEW.displayOverlayForHtmlAndMediaType = function(){
//360vtourの場合戻るボタンを処理する
CONTENTVIEW
.
panoOldContent
=
function
(){
var
oldPageNo
=
null
;
if
(
ClientData
.
IsJumpBack
()
==
true
){
var
oldDataBack
=
ClientData
.
JumpQueue
();
oldPageNo
=
oldDataBack
[
oldDataBack
.
length
-
1
].
oldPageIndex
;
oldDataBack
.
splice
(
oldDataBack
.
length
-
1
,
1
);
ClientData
.
JumpQueue
(
oldDataBack
);
if
(
oldDataBack
.
length
==
0
){
ClientData
.
IsJumpBack
(
false
);
}
}
}
return
oldPageNo
;
};
CONTENTVIEW
.
createSessionForPanoramaContent
=
function
(
apiUrl
,
func
,
linkUrlTmp
){
var
params
=
{
sid
:
ClientData
.
userInfo_sid
()
};
...
...
@@ -2184,23 +2184,23 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
CONTENTVIEW
.
handleForContentTypeEnquete
(
resourceUrl
);
}
else
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
){
var
url
=
ClientData
.
conf_apiUrl
();
var
url
=
ClientData
.
conf_apiUrl
();
var
linkUrlTmp
=
AVWEB
.
format
(
url
,
ClientData
.
userInfo_accountPath
());
var
apiUrl
=
linkUrlTmp
+
"/createSession/"
;
CONTENTVIEW
.
panoOldContent
();
linkUrlTmp
=
linkUrlTmp
.
substring
(
0
,
linkUrlTmp
.
length
-
6
)
+
"shop/panorama/play/"
+
CONTENTVIEW_GENERAL
.
contentID
+
"/"
;
CONTENTVIEW
.
createSessionForPanoramaContent
(
apiUrl
,
function
(){
CONTENTVIEW
.
handleForContentTypePanoMovie
(
linkUrlTmp
);
},
linkUrlTmp
);
}
else
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
){
var
url
=
ClientData
.
conf_apiUrl
();
var
linkUrlTmp
=
AVWEB
.
format
(
url
,
ClientData
.
userInfo_accountPath
());
var
apiUrl
=
linkUrlTmp
+
"/createSession/"
;
var
oldPageNo
=
CONTENTVIEW
.
panoOldContent
();
if
(
oldPageNo
!=
null
){
linkUrlTmp
=
linkUrlTmp
.
substring
(
0
,
linkUrlTmp
.
length
-
6
)
+
"shop/vtour/play/"
+
CONTENTVIEW_GENERAL
.
contentID
+
"/"
+
"?startscene=scene"
+
oldPageNo
+
"&a=1"
;
...
...
@@ -2209,25 +2209,25 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
}
else
{
linkUrlTmp
=
linkUrlTmp
.
substring
(
0
,
linkUrlTmp
.
length
-
6
)
+
"shop/vtour/play/"
+
CONTENTVIEW_GENERAL
.
contentID
+
"/"
;
}
CONTENTVIEW
.
createSessionForPanoramaContent
(
apiUrl
,
function
(){
CONTENTVIEW
.
handleForContentTypePanoImage
(
linkUrlTmp
);
},
linkUrlTmp
);
}
else
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_ObjectVR
){
var
url
=
ClientData
.
conf_apiUrl
();
var
url
=
ClientData
.
conf_apiUrl
();
var
linkUrlTmp
=
AVWEB
.
format
(
url
,
ClientData
.
userInfo_accountPath
());
var
apiUrl
=
linkUrlTmp
+
"/createSession/"
;
CONTENTVIEW
.
panoOldContent
();
linkUrlTmp
=
linkUrlTmp
.
substring
(
0
,
linkUrlTmp
.
length
-
6
)
+
"shop/objectvr/play/"
+
CONTENTVIEW_GENERAL
.
contentID
+
"/"
;
CONTENTVIEW
.
createSessionForPanoramaContent
(
apiUrl
,
function
(){
CONTENTVIEW
.
handleForContentTypeObjectVR
(
linkUrlTmp
);
},
linkUrlTmp
);
}
if
(
COMMON
.
isTouchDevice
()
==
true
)
{
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isAndroid
())
{
CONTENTVIEW_GENERAL
.
standardRatio
=
document
.
documentElement
.
clientWidth
/
window
.
innerWidth
;
...
...
@@ -2569,9 +2569,9 @@ CONTENTVIEW.handleForContentTypeEnquete = function(resourceUrl){
//Check type of content
CONTENTVIEW
.
isMediaAndHTMLContent
=
function
(){
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Music
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Video
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Html
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Music
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Video
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Html
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_ObjectVR
){
return
true
;
}
...
...
@@ -2586,8 +2586,8 @@ CONTENTVIEW.enableSpecifyControl = function(){
//Disable All control
CONTENTVIEW_GENERAL
.
disableAllControl
();
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Html
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Music
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Video
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Html
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Music
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Video
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_ObjectVR
){
CONTENTVIEW
.
enableControlForMediaAndHtmlType
();
...
...
@@ -2611,7 +2611,7 @@ CONTENTVIEW.enableControlForMediaAndHtmlType = function(){
$
(
"#control_screen"
).
bind
(
'click'
,
CONTENTVIEW
.
fullScreenForNotPdfType
);
$
(
"#control_screen_2"
).
bind
(
'click'
,
CONTENTVIEW
.
originalScreenForNotPdfType
);
if
(
COMMON
.
isTouchDevice
()
==
true
)
{
/* set css for device */
$
(
'#imgHome'
).
addClass
(
'home_device'
);
$
(
'#imgBack'
).
addClass
(
'back_device'
);
...
...
@@ -2714,8 +2714,8 @@ CONTENTVIEW.originalScreenForNotPdfType = function(){
$container
.
css
(
'background-color'
,
'white'
);
$container
.
css
(
'overflow'
,
'scroll'
);
$container
.
css
(
'-webkit-overflow-scrolling'
,
'touch'
);
}
else
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
}
else
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_ObjectVR
){
$container
.
css
(
'left'
,
'0%'
);
$container
.
css
(
'position'
,
'absolute'
);
...
...
@@ -3107,6 +3107,7 @@ CONTENTVIEW.ContentPage.prototype.addPageObjects = function (pageObjects) {
obj
.
enquete
,
obj
.
objectId
);
//チェックボタン
}
else
if
(
obj
.
actionType
==
16
)
{
pageObj
=
new
CONTENTVIEW_CREATEOBJECT
.
imageNoAction
(
/* checkBtn no action */
obj
.
mediaType
,
...
...
@@ -3119,7 +3120,21 @@ CONTENTVIEW.ContentPage.prototype.addPageObjects = function (pageObjects) {
obj
.
height
,
obj
.
visible
);
}
//呼出リストボタン
}
else
if
(
obj
.
actionType
==
18
)
{
pageObj
=
new
CONTENTVIEW_CREATEOBJECT
.
imageNoAction
(
obj
.
mediaType
,
obj
.
actionType
,
obj
.
id
,
obj
.
imageUrl
,
obj
.
x
,
obj
.
y
,
obj
.
width
,
obj
.
height
,
obj
.
visible
);
}
break
;
case
2
:
pageObj
=
new
CONTENTVIEW_CREATEOBJECT
.
videoType2
(
...
...
@@ -4961,32 +4976,32 @@ CONTENTVIEW.showVideoObject = function(x, y, width, height, src, isFullscreen) {
CONTENTVIEW_GETDATA
.
getPosVideo
(
x
,
y
,
width
,
height
);
if
(
isFullscreen
===
false
)
{
//#17378 Chromeで差し替え動画の再生ボタンを連続クリックすると、動画が再生されなくなる問題の対応
var
isCreateVideo
=
true
;
if
(
$
(
'#videoOnPage'
).
length
){
//表示位置が同じか判定
var
pos
=
$
(
'#playvideo'
).
position
();
if
(
pos
.
left
==
pt1
.
x
&&
pos
.
top
==
pt1
.
y
){
isCreateVideo
=
false
;
}
}
if
(
$
(
'#videoOnPage'
).
length
&&
!
isCreateVideo
){
//ソースのみ入替え
var
videoObj
=
document
.
getElementById
(
'videoOnPage'
);
videoObj
.
setAttribute
(
"src"
,
src
);
videoObj
.
load
();
}
else
{
$
(
'#playvideo'
).
attr
(
'z-order'
,
'10000'
);
$
(
'#playvideo'
).
css
(
'left'
,
pt1
.
x
+
'px'
);
$
(
'#playvideo'
).
css
(
'top'
,
pt1
.
y
+
'px'
);
$
(
'#playvideo'
).
children
().
remove
();
if
(
ClientData
.
userOpt_videoMode
()
==
"1"
)
{
/* loop video */
$
(
'#playvideo'
).
html
(
'<video class="mov" id="videoOnPage" '
+
'width="'
+
(
pt2
.
x
-
pt1
.
x
)
+
'" '
+
...
...
@@ -4997,7 +5012,7 @@ CONTENTVIEW.showVideoObject = function(x, y, width, height, src, isFullscreen) {
//' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/ogg"> ' +
'</video>'
);
}
else
{
$
(
'#playvideo'
).
html
(
'<video class="mov" id="videoOnPage"'
+
'width="'
+
(
pt2
.
x
-
pt1
.
x
)
+
'" '
+
...
...
@@ -5106,14 +5121,14 @@ CONTENTVIEW.changeImageType4 = function(objTarget, nIndex, nIndex1) {
contextObject
.
fillRect
(
tmpX
,
tmpY
,
tmpW
+
1
,
tmpH
+
1
);
var
aspectType
=
objTarget
[
nIndex
].
aspectType
;
if
(
aspectType
==
'1'
){
var
drawObj
=
CONTENTVIEW
.
adjustAspectRatio
(
tmpX
,
tmpY
,
tmpW
,
tmpH
,
imageObj
.
width
,
imageObj
.
height
);
tmpX
=
drawObj
.
drawX
;
tmpY
=
drawObj
.
drawY
;
tmpW
=
drawObj
.
drawW
;
tmpH
=
drawObj
.
drawH
;
}
contextObject
.
drawImage
(
imageObj
,
tmpX
,
tmpY
,
tmpW
,
tmpH
);
...
...
@@ -6136,7 +6151,7 @@ CONTENTVIEW.ready = function(initContentId){
ClientData
.
JumpQueue
([]);
ClientData
.
IsJumpBack
(
false
);
//オーサリングプレビュー対応
if
(
COMMON
.
isAuthoringPreview
()
&&
CONTENTVIEW_GENERAL
.
pid
!=
''
){
// Show system error
...
...
@@ -6238,19 +6253,19 @@ CONTENTVIEW.resvCustomLog = function(param1,param2,param3,param4,param5){
};
CONTENTVIEW
.
panoLog
=
function
(
log
,
scheme
){
if
(
scheme
==
"abookdetaillog"
){
var
panoObjectLog
=
log
;
//Panomovieの詳細ログ作成
var
objectLog
=
new
ObjectLogEntity
();
objectLog
.
contentid
=
CONTENTVIEW_GENERAL
.
contentID
;
objectLog
.
actionDate
=
new
Date
();
objectLog
.
actionDate
=
new
Date
();
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_ObjectVR
){
objectLog
.
pageNo
=
"1"
;
}
else
{
objectLog
.
pageNo
=
panoObjectLog
.
pageNo
;
}
}
objectLog
.
objectId
=
panoObjectLog
.
objectId
;
objectLog
.
resourceId
=
panoObjectLog
.
resourceId
;
objectLog
.
mediaType
=
panoObjectLog
.
mediaType
;
...
...
@@ -6262,19 +6277,19 @@ CONTENTVIEW.panoLog = function(log, scheme){
objectLog
.
locationHeight
=
panoObjectLog
.
locationHeight
;
objectLog
.
locationWidth
=
panoObjectLog
.
locationWidth
;
objectLog
.
eventType
=
panoObjectLog
.
eventType
;
COMMON
.
SetObjectLog
(
CONTENTVIEW_GENERAL
.
contentID
,
objectLog
);
}
else
if
(
scheme
==
"abookmovepage"
){
var
panoPageLog
=
log
;
//if(panoPageLog.pageNo == null){
// CONTENTVIEW_GENERAL.panoPageNo = 1;
//} else {
// CONTENTVIEW_GENERAL.panoPageNo = panoPageLog.pageNo;
//}
//COMMON.SetPageLog( CONTENTVIEW_GENERAL.contentID, CONTENTVIEW_GENERAL.panoPageNo);
CONTENTVIEW_GENERAL
.
panoPageNo
=
panoPageLog
.
pageNo
;
if
(
panoPageLog
.
pageNo
==
null
){
COMMON
.
SetPageLog
(
CONTENTVIEW_GENERAL
.
contentID
,
1
);
...
...
@@ -6352,7 +6367,7 @@ CONTENTVIEW.panoContentLink = function(targetContentId, page){
else
if
(
data
.
contentData
.
alertMessageLevel
==
CONTENTVIEW_CREATEOBJECT
.
alertMessageLevel
.
None
){
if
(
data
.
contentData
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Link
){
COMMON
.
viewLinkContentById
(
targetContentId
,
true
);
}
else
if
(
data
.
contentData
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Others
){
COMMON
.
downloadResourceById
(
targetContentId
);
}
else
{
...
...
@@ -6364,7 +6379,7 @@ CONTENTVIEW.panoContentLink = function(targetContentId, page){
var
dataJump
=
ClientData
.
JumpQueue
();
dataJump
.
push
(
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
...
...
@@ -6383,7 +6398,7 @@ CONTENTVIEW.panoContentLink = function(targetContentId, page){
var
dataJump
=
ClientData
.
JumpQueue
();
dataJump
.
push
(
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
...
...
@@ -6408,38 +6423,38 @@ CONTENTVIEW.receiveSize = function(e) {
//if (e.origin === "http://hogehoge.com") // for security: set this to the domain of the iframe - use e.uri if you need more specificity
// document.getElementById("bar").style.height = e.data + "px";
//console.log("receiveSize:" + e.data);
};
window
.
addEventListener
(
"message"
,
CONTENTVIEW
.
receiveSize
,
false
);
//差し替え画像のアスペクト比維持対応
CONTENTVIEW
.
adjustAspectRatio
=
function
(
drawX
,
drawY
,
drawW
,
drawH
,
srcImageW
,
srcImageH
){
var
drawObj
=
{};
drawObj
.
drawX
=
drawX
;
drawObj
.
drawY
=
drawY
;
drawObj
.
drawH
=
drawH
;
drawObj
.
drawW
=
drawW
;
var
tmpRatioImage
;
var
tmpX
=
drawObj
.
drawX
;
var
tmpY
=
drawObj
.
drawY
;
var
tmpH
=
drawObj
.
drawH
;
var
tmpW
=
drawObj
.
drawW
;
//描画エリアが縦長か横長か判定
if
(
drawObj
.
drawW
>
drawObj
.
drawH
){
//描画エリア横長
if
(
srcImageW
>
srcImageH
){
//ソース画像は横長
//描画エリアとソース画像の比率計算
var
drawRatio
=
drawObj
.
drawH
/
drawObj
.
drawW
;
var
srcRatio
=
srcImageH
/
srcImageW
;
//console.log("drawRatio:" + drawRatio);
//console.log("srcRatio:" + srcRatio);
if
(
drawRatio
<
srcRatio
){
tmpH
=
drawObj
.
drawH
;
tmpRatioImage
=
drawObj
.
drawH
/
srcImageH
;
...
...
@@ -6449,13 +6464,13 @@ CONTENTVIEW.adjustAspectRatio = function(drawX, drawY, drawW, drawH, srcImageW,
tmpRatioImage
=
drawObj
.
drawW
/
srcImageW
;
tmpH
=
srcImageH
*
tmpRatioImage
;
}
}
else
{
//ソース画像は縦長か正方形
tmpRatioImage
=
drawObj
.
drawH
/
srcImageH
;
tmpW
=
srcImageW
*
tmpRatioImage
;
}
}
else
{
//描画エリア縦長か正方形
if
(
srcImageW
>
srcImageH
){
...
...
@@ -6468,13 +6483,13 @@ CONTENTVIEW.adjustAspectRatio = function(drawX, drawY, drawW, drawH, srcImageW,
}
}
else
{
//ソース画像は縦長か正方形
//描画エリアとソース画像の比率計算
var
drawRatio
=
drawObj
.
drawW
/
drawObj
.
drawH
;
var
srcRatio
=
srcImageW
/
srcImageH
;
//console.log("drawRatio:" + drawRatio);
//console.log("srcRatio:" + srcRatio);
if
(
drawRatio
<
srcRatio
){
tmpW
=
drawObj
.
drawW
;
tmpRatioImage
=
drawObj
.
drawW
/
srcImageW
;
...
...
@@ -6494,9 +6509,9 @@ CONTENTVIEW.adjustAspectRatio = function(drawX, drawY, drawW, drawH, srcImageW,
// //drawObj.drawW = tmpW;
//}
}
}
//表示位置調整
if
(
drawObj
.
drawW
>
tmpW
){
//横位置調整
...
...
@@ -6506,13 +6521,13 @@ CONTENTVIEW.adjustAspectRatio = function(drawX, drawY, drawW, drawH, srcImageW,
//縦位置調整
tmpY
=
tmpY
+
(
drawObj
.
drawH
-
tmpH
)
/
2
;
}
drawObj
.
drawX
=
tmpX
;
drawObj
.
drawY
=
tmpY
;
drawObj
.
drawW
=
tmpW
;
drawObj
.
drawH
=
tmpH
;
return
drawObj
;
};
abvw/js/contentview_GetData.js
View file @
53511fc5
...
...
@@ -398,6 +398,17 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
pageObject
[
'imageUrl'
]
=
null
;
}
}
else
if
(
iValueObj
.
action
.
actionType
==
18
)
{
/*get mediaInfo */
// プレビューでは表示だけで、クリックしても機能しない
if
(
iValueObj
.
mediaInfo
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
CONTENTVIEW
.
getSessionId
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
}
//End Function : No.9 - Editor : Long - Date: 08/16/2013 - Summary :
return
pageObject
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment