채택완료
영카트 상품페이지에 video.js 적용법좀 알려주세요
head.sub.php에 이 소스를 집어넣고
<!-- Chang URLs to wherever Video.js files will be hosted -->
<link href="https://cleanermart.com/video/video-js.css" rel="stylesheet" type="text/css">
<!-- video.js must be in the <head> for older IEs to work. -->
<script src="https://cleanermart.com/video/video.js"></script>
상품페이지에서 html로 해서 요소스 넣으면 될줄 알았는대 아닌가보내요
<video width="640" height="264" class="video-js vjs-default-skin" id="example_video_1" preload="none" controls="" data-setup="{}">
<source src="동영상주소" type="video/mp4">
</video></p>
|
답변 3개 / 댓글 6개
채택된 답변
+20 포인트
plugin/htmlpurifier/safeiframe.txt
주소 등록을 해야 가능한지 어떤지 모르겠네요.
답변에 대한 댓글 4개
답변에 대한 댓글 1개
js랑 css는 잘 들어간거 같은대 하단에 소스를 html로 설정하고 넣으면 상품수정 페이지에서 에디디터로 바꾸고 보면 video.js가아닌 브라우저 기본 플레이어로 동영상이 보이긴 한대 정작 상품 페이지에서는 아예 나타나질 안내요... 참고로 해당 상품 주소는 https://cleanermart.com/shop/item.php?it_id=1439385150 입니다.
<video width="640" height="264" class="video-js vjs-default-skin" id="example_video_1" preload="none" controls="" data-setup="{}">
<source src="https://cleanermart.com/video/flowmac.mp4" type="video/mp4">
</video></p>
<video width="640" height="264" class="video-js vjs-default-skin" id="example_video_1" preload="none" controls="" data-setup="{}">
<source src="https://cleanermart.com/video/flowmac.mp4" type="video/mp4">
</video></p>
답변을 작성하려면 로그인이 필요합니다.