Skip to main content
Participating Frequently
August 28, 2017
Answered

load video into video component

  • August 28, 2017
  • 1 reply
  • 794 views

Hi to all,

I try to use the video component, I need assign the path from code... I tryed to use the Snippet Code:

$("#video_mc").src ="videos/video.mp4";

It isn't work... I don't understand

This topic has been closed for replies.
Correct answer ClayUUID

I swear the Socratic method is more headache than it's worth anymore. Let me rephrase that imperatively:

DO NOT put your code on the same frame the component first appears. Put it on the next frame.

1 reply

Legend
August 28, 2017

I assume you didn't put that code on the same frame that the component first appears on the stage.

Participating Frequently
August 28, 2017

What do you mean?

My code is on the first frame, and the component in int same frame three layer below

ClayUUIDCorrect answer
Legend
August 28, 2017

I swear the Socratic method is more headache than it's worth anymore. Let me rephrase that imperatively:

DO NOT put your code on the same frame the component first appears. Put it on the next frame.