This update ships some bug fixes and quality-of-life improvements to the JS SDK. This addresses a common piece of feedback we've heard from developers about the experience of uploading video to IPFS using the SDK. It makes creating a video and uploading it to IPFS seamless.
It also unlocks the ability to autoplay without forcing mute. This works only in certain conditions where the site is considered "trusted" and the user has interacted with the site - see Chrome and Safari docs for further details on when this is allowed. We recommend testing on your site to ensure that the media will autoplay under the conditions that you expect the user to engage with your content.
If you use Livepeer.js, please upgrade to
@livepeer/react@2.4.3
or
@livepeer/react-native@2.4.3
.
Specific changes:
  • Adds the ability to autoplay videos without forcing mute.
  • Adds IPFS upload on the creation of an asset, so no subsequent calls need to be made to upload to IPFS.