wearscript / wearscript-android

JavaScript with Batteries Included for Google Glass
wearscript.com
215 stars 55 forks source link

MediaPlayer Support #181

Closed kurtisnelson closed 10 years ago

kurtisnelson commented 10 years ago

Support the native MediaPlayer.

WS.Media.load(url, backgroundFlag);
WS.Media.play();
WS.Media.pause();
WS.Media.seekTo(int position);
WS.Media.unload();