<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript">
  window.UMEDITOR_HOME_URL = ctx + "/page/umeditor/";
  var URL = window.UEDITOR_HOME_URL;
</script>
<form class="layui-form whitebg pb10 pt10" action="" id="data_form">  
	<div class="tab-pane active">     
		<div class="panel-body">
			<div class="wrapper wrapper-content">
				<div class="panel-form animated fadeInRight wp60 fc">
					<div class="layui-form-item dn	has-error" >   
						<label class="layui-form-label">id</label>  
						<div class="layui-input-block">
							<input type="text" name="id" lay-verify="title" autocomplete="off" readonly="readonly" class="layui-input" value="${helpVideo.id }" >
						</div>  
					</div>
					
					<div class="layui-form-item 	has-error" >   
						<label class="layui-form-label">名称</label>  
						<div class="layui-input-block">
							<input type="text" name="name" id="name" lay-verify="title" autocomplete="off" readonly="readonly" class="layui-input" value="${helpVideo.name }" >
						</div>  
					</div>
					<div class="layui-form-item    has-error" >   
                        <label class="layui-form-label">视频类型</label>  
                        <div class="layui-input-block">
                            <input type="text" name="type" id="type" lay-verify="title" autocomplete="off" readonly="readonly" class="layui-input" value="${helpVideo.type }" >
                        </div>  
                    </div>
                    
                    <div class="layui-form-item layui-form-text" >
                <label class="layui-form-label">上传视频</label>
                <div class="layui-input-block">
                    <div class=" w300 h200 postionr">
                        <i class="layui-icon"></i>    
                        <video width="300px" height="200px" controls id="video">
                                <source src="${helpVideo.videoUrl }"  type="video/mp4"  id="demo2"></source>                        
                        </video>
                          <input type="hidden" name="videoUrl" value="${videoCourseChapterSection.videoUrl }"  id="videoUrl">
                    </div>
                </div>
            </div> 
					<div class="layui-form-item 	has-error" >   
						<label class="layui-form-label">描述</label>  
						<div class="layui-input-block">
						  <textarea class="layui-textarea" rows="20" cols="120" name="content" id="content" readonly="readonly">${helpVideo.content }</textarea>
						</div>  
					</div>
	
				</div>
			</div>
		</div>  
	</div>
</form>
<script type="text/javascript">
    //form表单样式
    layui.use(['layer', 'form'], function() {    
        var layer = layui.layer,
            form = layui.form;
        form.render();
    });
   /*  $(function(){
        UM.getEditor('content');
        
    }) */
</script>

