2017-12-05 14 views
0

나는 비디오 갤러리 용 html5 갤러리 (https://html5box.com/html5gallery/install.php)를 사용하는 클라이언트를 보유하고 있습니다. 비디오 요소에 controlsList = "nodownload"를 사용하고 css를 사용하여 재생 버튼 오버레이를 만드는 방법은 html5 갤러리를 사용할 때 다운로드 단추를 제거하는 방법을 알고 있습니다. html5 갤러리를 사용할 때 어떻게하면 좋을까요?HTML5 갤러리에서 다운로드 버튼과 재생 버튼 오버레이를 삭제 하시겠습니까?

등이 내 현재 코드는 내가 관리자

enter image description here

<script src="/html5gallery/html5gallery.js"></script> 

<style type="text/css"> 
div.guide {margin:12px 24px;} 
div.guide span {color:#ff0000; font:italic 14px Arial, Helvetica, sans- 
serif;} 
div.guide p {color:#000000; font:14px Arial, Helvetica, sans-serif;} 
div.guide pre {color:#990000;} 
div.guide p.title {color:#df501f; font:18px Arial, Helvetica, sans-serif;} 
</style> 


<div style="display:none; margin:0 auto;" class="html5gallery" data- 
width="600" data-height="340" data-skin="gallery" data- 
nativehtml5controls="true" data-onvideoend="onVideoEnd"> 
에 참조가 지금은 무엇을 '데이터 showplaybutton'처럼 연결하고 비가 작동하는 것 같군하는 방법에 나열된 속성의 무리를 시도하다

답변

0

네이티브 코드에서 "data-nativehtml5controls ="true "속성을 제거했습니다. 다운로드 버튼을 제거했습니다. 비디오가 재생되기 전에 재생 버튼 오버레이가 추가되었습니다.