[HTML 5 Video] Play event firing twice

[HTML 5 Video] Play event firing twice

Hello everybody,

I'm trying to write a jQuery plugin for HTML  5 Video (with fallbacks) and I'm facing a strange problem.
The Video Element ( as an HTMLNode) has a method called "play", which I tried to implement in my plugin.
The problem is that when I use my plugin's play method, the event is fired twice and this is because ( I think ) the HTML Video Element already has a method called "played".

Here's a basic version of the code I used :
  1. /* Plugin's code */
  2. jQuery.fn.play = function(fn) {
  3.       return (fn) ? this.bind("play",fn) : this.trigger("play");
  4. }
  1. $('video').play(function(){ // Attaching a function to the "play" event
  2.       alert('playing !');
  3. }
  4. $("#playButton").click(function(){
  5.       $('video').play(); // Two alert windows will be displayed instead of one
  6. }
I tried to use "triggerHandler" instead of "trigger" but it's not working either, the event isn't fired at all.

If anyone can help...
Thanks !