Created
November 5, 2018 11:37
-
-
Save Dushusir/acc76421637c0dcb8feddd9de9f12352 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
This file contains 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 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