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

How to control Flash Player playback using JavaScript?

Engaged ,
Jan 17, 2011 Jan 17, 2011

Copy link to clipboard

Copied

I have a local file-based web page (HTML file) containing an embedded YouTube video.

Now I want to write some JavaScript to control the Player's playback parameters, like volume, mute, play, stop etc., using JavaScript in the file. However, I don't seem to be able to access any of these function.

Can someone please enlighten me on what I need to do to be able to control Flash Player from JavaScript?

Views

2.8K

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
LEGEND ,
Jan 17, 2011 Jan 17, 2011

Copy link to clipboard

Copied

Although I have done a lot of JavaScripting lately, I have never done anything with Flash Player, so I cannot really give you any advice.

Maybe this article may help you to get started http://kb2.adobe.com/cps/156/tn_15683.html ?

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
LEGEND ,
Jan 17, 2011 Jan 17, 2011

Copy link to clipboard

Copied

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
Engaged ,
Jan 17, 2011 Jan 17, 2011

Copy link to clipboard

Copied

I'm not acquainted with Flash too much, I'm afraid... Both paged didn't give any example I could leverage.

I'm searching for something equivalent to something like this:

document.getElementById("MyMoviePlayer").mute();

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
LEGEND ,
Jan 17, 2011 Jan 17, 2011

Copy link to clipboard

Copied

LATEST

As I wrote earlier, I do not really know more than you do.

Perhaps this gives you some more ideas http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html

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