|
|
@@ -72,11 +72,9 @@
|
|
|
$.each(review.reviewAttachList, function(aIdx, reviewAttach){
|
|
|
fileGbClass = '';
|
|
|
if (reviewAttach.fileGb == "M") fileGbClass = "mov";
|
|
|
- tag +=' <span class="thumb" class="'+fileGbClass+'">\n';<!-- 동영상의 썸네일일 경우 mov 클래스 추가-->
|
|
|
+ tag +=' <span class="thumb '+fileGbClass+'">\n';<!-- 동영상의 썸네일일 경우 mov 클래스 추가-->
|
|
|
if (reviewAttach.fileGb == "M") {
|
|
|
- tag +=' <video poster="http://cdn.011st.com/11dims/resize/1999x1999/quality/75/11src/review/10201202/3121412332/2e66698576d64c5c9977a6fe6606008d.jpg" muted="muted" preload="metadata" controls="controls">\n';
|
|
|
- tag +=' <source src="http://snsvideo.11st.co.kr/movie/item/www/675/67518524_06_1_C1.mp4" type="video/mp4">\n';
|
|
|
- tag +=' </video>\n';
|
|
|
+ tag +=' <iframe width="100%" height="100%" src="'+_kollusMediaUrl +'/'+reviewAttach.kmcKey +'?player_version=html5" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe>\n';
|
|
|
}else{
|
|
|
tag +=' <img src="'+ _imgUrl + reviewAttach.sysFileNm +'" alt="">\n';
|
|
|
}
|
|
|
@@ -197,7 +195,11 @@
|
|
|
tag +=' <li>\n';
|
|
|
tag +=' <div class="pic '+activeClass+'"> \n'; <!-- 활성화시 active 클래스 추가 -->
|
|
|
tag +=' <span class="thumb" class="'+fileGbClass+'" style="background-image:url('+ _imgUrl + reviewAttach.sysFileNm +');\" >\n';<!-- 동영상의 썸네일일 경우 mov 클래스 추가 -->
|
|
|
- tag +=' <img src="'+ _imgUrl + reviewAttach.sysFileNm +'" alt="">\n';
|
|
|
+ if (reviewAttach.fileGb == "M") {
|
|
|
+ tag +=' <iframe width="100%" height="100%" src="'+_kollusMediaUrl +'/'+reviewAttach.kmcKey +'?player_version=html5" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe>\n';
|
|
|
+ }else{
|
|
|
+ tag +=' <img src="'+ _imgUrl + reviewAttach.sysFileNm +'" alt="">\n';
|
|
|
+ }
|
|
|
tag +=' </span>\n';
|
|
|
tag +=' </div>\n';
|
|
|
tag +=' </li>\n';
|