자바스크립트 질문 올립니다. 정보
자바스크립트 질문 올립니다.본문
홍길동.js
==============================================================
flashembed('main_movie',
{
src:'/flowplayer/FlowPlayerClassic.swf',
width: 580,
height: 475
},
{config: {
showVolumeSlider: false,
showMuteVolumeButton: false,
showMenu: false,
controlsOverVideo: 'ease',
controlBarBackgroundColor: -1,
controlBarGloss: 'low' ,
autoRewind: 'ture',
loop: 'false',
autoPlay: false,
autoBuffering: true,
initialScale: 'scale',
videoFile: 'http://www.motiongraphiclab.com/data/file/{$bo_table}/{$view[file][2][file]}'
}}
);
======================================================================
위 소스처럼 {$bo_table}/{$view[file][2][file] 를 자바스크립트 안에 넣고 파일로 만들어서
돌리면 작동을 안하더라구요 방법이 잘못 된 것일까요?
==============================================================
flashembed('main_movie',
{
src:'/flowplayer/FlowPlayerClassic.swf',
width: 580,
height: 475
},
{config: {
showVolumeSlider: false,
showMuteVolumeButton: false,
showMenu: false,
controlsOverVideo: 'ease',
controlBarBackgroundColor: -1,
controlBarGloss: 'low' ,
autoRewind: 'ture',
loop: 'false',
autoPlay: false,
autoBuffering: true,
initialScale: 'scale',
videoFile: 'http://www.motiongraphiclab.com/data/file/{$bo_table}/{$view[file][2][file]}'
}}
);
======================================================================
위 소스처럼 {$bo_table}/{$view[file][2][file] 를 자바스크립트 안에 넣고 파일로 만들어서
돌리면 작동을 안하더라구요 방법이 잘못 된 것일까요?
댓글 전체
videoFile: 'http://www.motiongraphiclab.com/data/file/{$bo_table}/{$view[file][2][file]}'
->
videoFile: 'http://www.motiongraphiclab.com/data/file/<?={$bo_table}/{$view[file][2][file]}?>'
이렇게 하셨는데 안되신다는 거지요?
->
videoFile: 'http://www.motiongraphiclab.com/data/file/<?={$bo_table}/{$view[file][2][file]}?>'
이렇게 하셨는데 안되신다는 거지요?