Comments (2)
hexo g之后看看public文件夹有没有相关文件 如果有 那可以正常使用 如果没有 我又写bug了 提供具体信息我来找找问题在哪
from hexo-tag-dplayer.
这个是生成文件夹下面的内容:
pi@raspberrypi:~/Web/blog $ ls public/2018/04/25/dplayer-test-1/
1.mp4 index.html
这个是head里边相关的:
<meta name="description" content="(function(){var player = new DPlayer({"container":document.getElementById("dplayer0"),"video":{"url":"/html/2018/04/25/dplayer-test-1/1.mp4"}});window.dplayers||(window.dplayers=[]);window.dplayers.pu">
<link rel="stylesheet" type="text/css" href="/assets/css/DPlayer.min.css">
<script src="/assets/js/DPlayer.min.js"></script>
这个是body里边的
<div id="dplayer0" class="dplayer hexo-tag-dplayer-mark" style="margin-bottom: 20px;"></div><script>(function(){var player = new DPlayer({"container":document.getElementById("dplayer0"),"video":{"url":"/html/2018/04/25/dplayer-test-1/1.mp4"}});window.dplayers||(window.dplayers=[]);window.dplayers.push(player);})()</script>
from hexo-tag-dplayer.
Related Issues (20)
- 请问下支持的格式 HOT 2
- "Cannot read property '_id' of undefined" HOT 4
- 介绍首页的预览图炸裂 HOT 1
- 调用本地视频(即localhost:4000访问)时无法调节视频进度 HOT 7
- 求帮助 HOT 4
- 利用hexo-blog-encrypt加密,解密之后无法加载该插件 HOT 3
- cdn是不是没有续费啊
- safari下无法调节视频进度 HOT 1
- 在线视频
- 请问如何播放本地视频在markdown里,同时上传至个人博客? HOT 1
- 设置宽高后,手机端显示有问题 HOT 1
- 请问如何实现清晰度切换功能
- 能否取消弹幕显示
- 视频加载失败 HOT 3
- INFO DPlayer.min.css is not found in this version of dplayer, skip it. HOT 3
- INFO DPlayer.min.css is not found in this version of dplayer, skip it.
- 可以支持下jekyll吗?
- DPlayer.min.js:1 Uncaught RangeError: Maximum call stack size exceeded
- DPlayer is not defined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-tag-dplayer.