Skip to content

Instantly share code, notes, and snippets.

View titanew's full-sized avatar

Titane w titanew

View GitHub Profile
@titanew
titanew / vimrc.vim
Created May 27, 2013 08:17 — forked from caiyili/vimrc
" ======================================================================================
" File : .vimrc
" Author : Wu Jie
" Last Change : 12/02/2009 | 12:02:28 PM | Wednesday,December
" Description :
" ======================================================================================
"/////////////////////////////////////////////////////////////////////////////
" exVim global settings
" NOTE: you should change to your own settings.
@titanew
titanew / autoplay-audio-ios.html
Created May 19, 2017 03:28 — forked from ufologist/autoplay-audio-ios.html
在 iOS 微信浏览器中自动播放 HTML5 audio(音乐) 的正确方式
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Auto play html audio in iOS WeChat InAppBrowser the right way</title>
</head>
<body>
<h1>在 iOS 微信浏览器中自动播放 HTML5 audio(音乐) 的正确方式</h1>
<p>核心原理: 在微信的JS-API 中 play 一下 audio 即可达到自动播放的目的(应该是微信自己做了处理)</p>