Skip to main content
Participating Frequently
November 14, 2017
Answered

Adobe Animate cc Loading a movie clip in to html 5 canvas with Java Script on time line

  • November 14, 2017
  • 1 reply
  • 762 views

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-815278b83a8e/e9cf12a0-7c4b-414f-a5c9-97ef49340aa9_20160203035417.960x540at1200_h264.mp4"; /* 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();

    This topic has been closed for replies.
    Correct answer kglad

    your video component needs instance name movieClip_1, not MovieClip_1.

    1 reply

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    November 14, 2017

    your video component needs instance name movieClip_1, not MovieClip_1.