content/hifi-public/anshuman/RecordingDomainRecordings/ACPlaybackScript-Rec3.js
Dale Glass 0d14e5a379 Initial data.
Needs a lot of cleanup. Data has been de-duplicated, and where identical copies existed, one of them
has been replaced with a symlink.

Some files have been excluded, such as binaries, installers and debug dumps. Some of that may still
be present.
2022-02-13 18:59:11 +01:00

22 lines
No EOL
758 B
JavaScript

var clip_url = "https://s3-us-west-1.amazonaws.com/hifi-content/chris/dev/recording/avatars/hfr/3.hfr";
var PLAYBACK_CHANNEL = "playbackChannel";
var playFromCurrentLocation = false;
var useDisplayName = true;
var useAttachments = true;
var useAvatarModel = true;
var loop = true;
Recording.loadRecording(clip_url, function (success) {
Recording.setPlayFromCurrentLocation(playFromCurrentLocation);
Recording.setPlayerUseDisplayName(useDisplayName);
Recording.setPlayerUseAttachments(useAttachments);
Recording.setPlayerUseHeadModel(false);
Recording.setPlayerLoop(loop);
Recording.setPlayerUseSkeletonModel(useAvatarModel);
Agent.isAvatar = true;
Recording.setPlayerTime(0.0);
Recording.startPlaying();
});