TL;DR : you use the same logic to generate the DPlayer.min.js and find the DPlayer.min.js in stylesheet.
Details:
I put my blog in a subdirectory, i.e. in `_config.yml
url: https://xxx.me
root: /blog/
And I set styleDir = '/blog/assets/css/', now it puts the DPlayer.min.js in 'https:xxx.me/blog/blog/assests/css/ and the stylesheet tries to find it https:xxx.me/blog/assests/css/. WRONG!
TL;DR : you use the same logic to generate the
DPlayer.min.js
and find theDPlayer.min.js
in stylesheet.Details: I put my blog in a subdirectory, i.e. in `_config.yml
And I set
styleDir = '/blog/assets/css/'
, now it puts theDPlayer.min.js
in'https:xxx.me/blog/blog/assests/css/
and the stylesheet tries to find ithttps:xxx.me/blog/assests/css/
. WRONG!THX