• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

HTML5 Canvas, Video Component with timeline navigations

New Here ,
Aug 17, 2017 Aug 17, 2017

Copy link to clipboard

Copied

Dear all form the adobe community,

I have been trying to get this to work for many days.

I have my video component embedded in frame 3, when I navigate to and fro my timeline with buttons, the video component does not load anymore.

Pls help! thank you in advance!

Heres a copy of my file.

https://www.dropbox.com/s/iotwtxsyyur2pfj/ORal.fla?dl=0

Views

585

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 17, 2017 Aug 17, 2017

Copy link to clipboard

Copied

You'll need to make a few corrections here -

1. In frames 3, you haven't specified any video source for your component.

2. In frame 2 code: change stop() to this.stop() and remove the line $("#video1")[0].play();

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2017 Aug 17, 2017

Copy link to clipboard

Copied

Hi,

I have made the changes. However, the video component still does not load when i go too and fro the frames with my buttons.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2017 Aug 17, 2017

Copy link to clipboard

Copied

HI,
Please check below link

Dropbox - video_example.zip

Regards,
sumaN

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2017 Aug 17, 2017

Copy link to clipboard

Copied

Dear Suman,

Thank you for your help. This is how the output looks like when I run the file that you have given to me. It is the same issue that I have experienced previously.

Dropbox - Oral.mp4

Regards,

Jacqueline

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 18, 2017 Aug 18, 2017

Copy link to clipboard

Copied

Hi JacLeow,

add this code in 3rd  Frame timeline

this.button_5.addEventListener("click", stopFunction);

function stopFunction(){

if($("#video1")[0].ended == true){

mcRoot.gotoAndStop(1);

}

}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 18, 2017 Aug 18, 2017

Copy link to clipboard

Copied

LATEST

Hi Suman,

I still get the same result after adding the code in on frame 3

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines