transport.js 411 B

1234567891011121314151617181920212223242526272829
  1. this.start = function () {
  2. //on view side
  3. }
  4. this.stop = function () {
  5. //on view side
  6. }
  7. this.pause = function () {
  8. //on view side
  9. }
  10. this.toggleTransport = function () {
  11. }
  12. this.syncTransportState = function () {
  13. }
  14. this.setTransportState = function (isPlaying, startOffset, pausedTime) {
  15. this.isPlaying = isPlaying;
  16. this.startOffset = startOffset;
  17. this.pausedTime = pausedTime;
  18. }