GithubHelp home page GithubHelp logo

Comments (2)

dixyes avatar dixyes commented on July 16, 2024

hexo g之后看看public文件夹有没有相关文件 如果有 那可以正常使用 如果没有 我又写bug了 提供具体信息我来找找问题在哪

from hexo-tag-dplayer.

leizh81 avatar leizh81 commented on July 16, 2024

这个是生成文件夹下面的内容:

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({&quot;container&quot;:document.getElementById(&quot;dplayer0&quot;),&quot;video&quot;:{&quot;url&quot;:&quot;/html/2018/04/25/dplayer-test-1/1.mp4&quot;}});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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.