MCPcopy
hub / github.com/NUKnightLab/TimelineJS3 / createMedia

Method createMedia

src/js/media/types/DocumentCloud.js:43–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 createMedia() {
44 // DocumentCloud API call
45 // DV is defined by the JS load in _loadMedia
46 DV.load(this.data.url, {
47 container: '#' + this._el.content_item.id,
48 showSidebar: false
49 });
50 this.onLoaded();
51 }
52
53
54}

Callers 1

_loadMediaMethod · 0.45

Calls 2

loadMethod · 0.80
onLoadedMethod · 0.45

Tested by

no test coverage detected