Open Bug 703498 Opened 13 years ago Updated 2 years ago

HTML5 & js: Double-clicking on <a> tag thumbnail makes 2 videos play at the same time, so pausing one leaves the other playing in the background (I have sent you a file)..

Categories

(Firefox :: General, defect)

7 Branch
x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: denis, Unassigned)

Details

Attachments

(1 file)

1.72 MB, application/octet-stream
Details
Attached file FirefoxQuery.zip
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

I'm writing an HTML5 website, and, using a javascript function, call for a video to be played on a mouse click (please see the attached file).  This happens in the latest versions of FF (7.1.xxx) on both Windows 7 and Mac 10.7.


Actual results:

All works well if the user clicks the <a> link (thumbnail) only once, but should the user click two or more times, then the video plays for each click (although only the top one can be seen). If you pause the top video the sounds of the other video(s) continue(s).


Expected results:

I'm really quite new to all this, but based on performance in all other browsers I've tested this with (on Mac and Win), any extra calls to play the video should cancel out the previous calls. Or more simply, it's not good to play two versions of the video at the same time :o)
Hope you can help with this.
Summary: HTML5 & js: Double-clicking on <a> tag thumbnail makes 2 videos play at the same time, so pausing one leaves the other playing in the background (I can send you a file).. → HTML5 & js: Double-clicking on <a> tag thumbnail makes 2 videos play at the same time, so pausing one leaves the other playing in the background (I have sent you a file)..
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: