nirvanatikku/jQuery-TubePlayer-Plugin — Issue #6: Trigger events problem
Author: nervino
Created: 2011-11-13 19:15:26+00:00
State: open

Hi,
I'm trying to use hooks to trigger events like "play", "stop" etc. but when I click on the "Play video in player" link, for example, nothing happens.

I have made a test to fire the div id ("youtube-player"), hiding it with the code "jQuery("#youtube-player").hide();" and it works.

Below is my code. Would you please suggest me what I'm doing wrong?

(I'm using the TubePlayer latest version, 1.0.4)

Thank you.

jQuery YouTube TubePlayer Plugin

HIDE

jQuery('#youtube-player').tubeplayer('stop');

Play video in player

Pause player

Stop player

Mute player

PLAY ANOTHER CLIP