mario0alberto1 / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

onMediaComplete doesn't work #116

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Package: gecko-mediaplayer
Version: 0.9.9.2-1
Severity: important

Use the following HTML page:

<HTML>
<BODY>

<embed
    name="mplayer"
    onMediaCompleteWithError='alert(error);'
    onEndOfStream='alert("media done");'
    type="application/x-mplayer2"
    width=500
    height=400
    src="file:///mnt/g/X-Files/1 season/1x00 - Pilot (DVDRip, RenTV).avi"
/>

</BODY>
</HTML>

When the video finishes, I don't see any alert()

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (20, 'unstable'), (10, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gecko-mediaplayer depends on:
ii  gconf2                        2.28.1-6   GNOME configuration database syste
ii  gnome-mplayer                 0.9.9.2-1  A GTK+ interface for MPlayer
ii  iceweasel                     3.6.12-2   Web browser based on Firefox
ii  konqueror                     4:4.4.5-1  advanced file manager, web browser
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.24-3   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.88-2     simple interprocess messaging syst
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libgconf2-4                   2.28.1-6   GNOME configuration database syste
ii  libglib2.0-0                  2.24.2-1   The GLib library of C routines
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3
ii  opera                         10.63.6450 A fast and secure web browser and 

gecko-mediaplayer recommends no packages.

gecko-mediaplayer suggests no packages.

-- no debconf information

Original issue reported on code.google.com by ksquirrel.iv@gmail.com on 14 Dec 2010 at 9:41

GoogleCodeExporter commented 8 years ago
Using 1.0.0 this tag works for me

<embed name="MediaPlayer" showcontrols=1 
width=320 height=200 type="video/quicktime" 
src="http://dekorte.homeip.net/download/apple-mvp-customer_care-us-20090512_480x
272.mov" 
autostart='false'
onMediaComplete='alert("Done");'/>

Original comment by kdeko...@gmail.com on 14 Dec 2010 at 10:44

GoogleCodeExporter commented 8 years ago
I believe this was fixed as part of gnome-mplayer 1.0.0 patch was actually in 
0.9.99.rc3

Original comment by kdeko...@gmail.com on 14 Dec 2010 at 11:17