RSC-010, ERROR, [Reference to non-standard resource type found.]
2016-01-21 09:21
706 查看
使用epubcheck检查epub文件,报错:
<message>RSC-010, ERROR, [Reference to non-standard resource type found.], chapter-001.xhtml (1087-112)</message>
<message>RSC-011, ERROR, [Found a reference to a resource that is not a spine item.], chapter-001.xhtml (1087-112)</message>
源文件:
<div class="imagediv3">
<a class="image4" style="width:50px;height:50px;z-index:1;" href="./Media/chapter-001hyperlinkitem1.mp4"/>
<img class="image4" src="Media/chapter-001image1.jpeg" id="imageItem-4" alt="Media/chapter-001image1.jpeg"/>
</div>
解决:
<div class="imagediv3">
<video src="./Media/chapter-001hyperlinkitem1.mp4" id="videoID_1">Your browser does not support the video element.</video>
<a class="image4" style="z-index:1;" href="javascript:document.getElementById('videoID_1').play();"/>
<img class="image4" src="Media/chapter-001image1.jpeg" id="imageItem-4" alt="Media/chapter-001image1.jpeg"/>
</div>
只消除了报错信息,暂时无法实现点击图片播放视频
<message>RSC-010, ERROR, [Reference to non-standard resource type found.], chapter-001.xhtml (1087-112)</message>
<message>RSC-011, ERROR, [Found a reference to a resource that is not a spine item.], chapter-001.xhtml (1087-112)</message>
源文件:
<div class="imagediv3">
<a class="image4" style="width:50px;height:50px;z-index:1;" href="./Media/chapter-001hyperlinkitem1.mp4"/>
<img class="image4" src="Media/chapter-001image1.jpeg" id="imageItem-4" alt="Media/chapter-001image1.jpeg"/>
</div>
解决:
<div class="imagediv3">
<video src="./Media/chapter-001hyperlinkitem1.mp4" id="videoID_1">Your browser does not support the video element.</video>
<a class="image4" style="z-index:1;" href="javascript:document.getElementById('videoID_1').play();"/>
<img class="image4" src="Media/chapter-001image1.jpeg" id="imageItem-4" alt="Media/chapter-001image1.jpeg"/>
</div>
只消除了报错信息,暂时无法实现点击图片播放视频
相关文章推荐
- HTML5中在客户端验证文件上传的大小
- Canvas 在高清屏下绘制图片变模糊的解决方法
- 视频分割 Ultra Video Splitter V4.0.4 汉化版 下载
- 原生js结合html5制作小飞龙的简易跳球
- User Scripts: Video Download by User Scripts
- 三个不常见的 HTML5 实用新特性简介
- 低版本IE正常运行HTML5+CSS3网站的3种解决方案
- js+HTML5实现canvas多种颜色渐变效果的方法
- javascript+HTML5的Canvas实现Lab单车动画效果
- javascript+html5实现绘制圆环的方法
- HTML5实现微信拍摄上传照片功能
- jQuery+HTML5加入购物车代码分享
- jQuery mobile 移动web(6)
- 基于Jquery和html5的7款个性化地图插件
- 实现音乐播放器的代码(html5+css3+jquery)
- 2014 HTML5/CSS3热门动画特效TOP10
- jQuery+html5+css3实现圆角无刷新表单带输入验证功能代码
- HTML5使用DeviceOrientation实现摇一摇功能
- 视频转换大师WinMPG Video Convert 6.63