Page 1 of 1

How to trigger play button click action in ustream player?

PostPosted: Mon Jan 11, 2016 2:33 am
by yaseer41
Hi,
I am a Javascript Developer. In my website, I have a ustream video using iframe. I want to trigger the click action of play button in the ustream player. I am unable to control the code for the ustream player.

For the Youtube player, I am able to trigger the play button click action in the Youtube player. The following is the working code for youtube player.

I want the same for the ustream player.
Code: Select all
var player;
functiononYouTubeIframeAPIReady(){
    player = new YT.Player('player',{
        height:'390',
        width:'640',
        videoId:'M7lc1UVf-VE',
        events:{
            'onReady':onPlayerReady,
            'onStateChange':onPlayerStateChange
        }
    });
}

Reference Link for youtube: https://developers.google.com/youtube/i ... ence?hl=en


Please help me to solve this problem. Thanks in advance.


Thank you,

Yaseer Jaffar