Created
November 5, 2018 11:39
-
-
Save Dushusir/a5335878b643751c740768782add876f to your computer and use it in GitHub Desktop.
// source https://jsbin.com/tosahuf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<script src="https://code.jquery.com/jquery-3.1.0.js"></script> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<audio id="media" src="http://sc1.111ttt.cn/link.mp3" loop preload autoplay></audio> | |
<script id="jsbin-javascript"> | |
$("#media").get(0).play() | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">$("#media").get(0).play()</script></body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#media").get(0).play() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment