The problem that the mobile music made by vue2.0 cannot be played on the APP mobile phone.

when I do the mobile music APP project with vue, I want to see the effect on my mobile phone.
the rest of the functions are good, but I can"t play music


~

.

and use
http://ustbhuangyi.com/music/.
test, not my mobile phone problem, the teacher can happily listen to music, mine is wrong!

does any god know what"s going on? QAQ

Mar.07,2021

this is the answer from teacher Huang Yi https://juejin.im/post/5a1af8.


I have encountered the same problem. Has the landlord solved it?


everything is normal, there are no problems, and the functions are easy to use


this is the security mechanism of the browser, which does not allow you to automatically play and harass users. https://yinode. Tech/2017/12/0.
this is a solution that I can manage


just fall back to 2.4.1!


there are two relatively simple solutions:

  1. according to the hack method mentioned in Mr. Huang's article , if not, please check your own code.
  2. go to package.json and change the vue version to 2.4.* , empty the node_modules folder, and then npm install it.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b525-2c27e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b525-2c27e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?