Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
araudioplayer
Advanced tools
AR-ONLY version of audio player interface for web xr projects made by patrice-morgan ongoly for the house of venus
for emily
AR-ONLY version of the XRAudioPlayer component (XRMediaPlayer)
ARAudioPlayer generates an audio player that users can experience in web AR or traditional flat modes. Experiences are built using Three.js/AFrame.
View content using a wide range of devices and formats. Implement the module in both modular server-side and non-modular client-side applications with just a few lines of JavaScript code!
npm install araudioplayer
(a) using add method
var XRMP = require('araudioplayer');
var myPlayer = XRMP.ARAudioPlayer;
myPlayer.add('../media/img/OracularSpectacular.png', '../media/audio/TheYouth.mp3' , { title: 'The Youth', author: 'MGMT', year: 2007});
myPlayer.add('../media/img/ExtraFine.png', '../media/audio/ExtraFine.mp3', { title: 'Extra Fine', author: 'Starmaker', year: 2019});
myPlayer.spawn();
(b) using addFromList method
an object or array of objects in the following format can be processed by the module to generate same outcome as above
var XRMP = require('araudioplayer');
var myPlayer = XRMP.ARAudioPlayer;
var collection = {
'The Youth': {
coverURL: '../media/audio/TheYouth.png',
audioURL: '../media/audio/TheYouth.mp3',
{
title: 'The Youth',
author: 'MGMT',
year: 2007
}
},
'Extra Fine': {
coverURL: '../media/audio/ExtraFine.png',
audioURL: '../media/audio/ExtraFine.mp3',
{
title: 'Extra Fine',
author: 'Starmaker',
year: 2019
}
}
};
myPlayer.addFromList(collection);
myPlayer.spawn();
var myPlayer = new ARAudioPlayer();
myPlayer.build();
myPlayer.add('../media/img/OracularSpectacular.png', '../media/audio/TheYouth.mp3' , { title: 'The Youth', author: 'MGMT', year: 2007});
coreEventListeners.launch([myPlayer]);
property | type | description |
---|---|---|
type | string | short paragraph descriptor of type property |
socket | object | short paragraph descriptor of socket object |
hello | method | short paragraph descriptor of hello method |
buildCoreMarkup | method | short paragraph descriptor of buildCoreMarkup method |
spawn | method | short paragraph descriptor of spawn method |
assetsContainer | object | short paragraph descriptor of assetContainer object |
build | method | short paragraph descriptor of build method |
add | method | short paragraph descriptor of add method |
addFromList | method | short paragraph descriptor of addFromList method |
showTrackList | method | short paragraph descriptor of showTrackList method |
playNextTrack | method | short paragraph descriptor of playNextTrack method |
playPreviousTrack | method | short paragraph descriptor of playPreviousTrack method |
stream | method | short paragraph descriptor of type method |
application | object | short paragraph descriptor of type object |
view | string | short paragraph descriptor of type property |
XRSetting | string | short paragraph descriptor of type property |
FAQs
audio player interface for web AR projects made by Patrice-Morgan Ongoly for the House of Venus
We found that araudioplayer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.