Copy link to clipboard
Copied
This what I have on frame 1 for Action.. I have a a html 5 Video player on my canvas named MovieClip_1 .. I'm trying to load a movieclip as a test using the adobe url shown below My goal is to have a deferent movie clip play based a random number with about 10 or so video clips. .. here is what I get from inspector ... any help would be appreciated as you might guess I'm brand new to Adobe Anamate cc html Cavan.. Thank You Uncaught TypeError: Cannot set property 'src' of undefined at lib.Untitled9.frame_0 (Untitled-9.js:38) at a.b._runActions (createjs-2015.11.26.min.js:17) at a.b.setPosition (createjs-2015.11.26.min.js:17) at a.b.setPosition (createjs-2015.11.26.min.js:17) at lib.Untitled9.c._updateTimeline (createjs-2015.11.26.min.js:14) at lib.Untitled9.c.advance (createjs-2015.11.26.min.js:14) at lib.Untitled9.c._tick (createjs-2015.11.26.min.js:14) at lib.Stage.b._tick (createjs-2015.11.26.min.js:13) at lib.Stage.b.tick (createjs-2015.11.26.min.js:13) at lib.Stage.b.update (createjs-2015.11.26.min.js:13) $("#movieClip_1")[0].src = "https://images-tv.adobe.com/avp/vr/15a99ccf-0e7c-4601-b270-87dd82624086/5078a43c-81f9-4a93-836c-8152..."; /* Play a Video Use this code snippet to play the selected video. */ /* Play a Video Use this code snippet to play the selected video. */ $("#movieClip_1")[0].play();
1 Correct answer
your video component needs instance name movieClip_1, not MovieClip_1.
Copy link to clipboard
Copied
your video component needs instance name movieClip_1, not MovieClip_1.

