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?
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 ?
Copy link to clipboard
Copied
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();
Copy link to clipboard
Copied
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