Closed vejandla closed 3 years ago
@atomarch fixed the typos.. Sorry. forgot to save the file, before.
Awesome, thanks for the contribution!
@atomarch When will we possibly see a release with these changes? I'm currently using CDN URL.
<script src="//cdn.8thwall.com/web/xrextras/xrextras.js" type="text/javascript" />
Currently, when users need to subscribe to a record start event, the only option is to find the dom element and add an event listener for
touchstart
event. This works fine in a vanilla JavaScript environment. But with SPA frameworks like Angular or React, it is hard to get hold of the recorder button as it gets added to the dom by Xtras library dynamically.Secondly, Xtras library is already dispatching events for several recorder events, not sure why we avoided events for
start
,stop
, anderror
.https://www.8thwall.com/docs/web/#xr8mediarecorderrecordvideo