gingerbeur / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

'ended' Event Listener not triggering on <audio> element #583

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an <audio> element and give it an MP3 url as a src
2. Attach an "ended" event listener via addEventListener("ended", someFunc);

What is the expected output? What do you see instead?

Event listener should trigger when the audio track is complete.  This worked 
previously on Chromecast, and identical code works fine on desktop in Chrome 
and Safari.  On Chromecast currently this event listener is never triggered.  I 
have verified that the event listener is indeed attached by looking at the 
Event Listeners in Chrome dev tools on the Chromecast itself. 

What version of the product are you using? On what operating system?

Chromecast build 31432

Please provide any additional information below.

This same issue occurs on the previous Chromecast build as well.
I can provide more complete code or details about my receiver application if 
this is helpful in reproducing the bug. 

Original issue reported on code.google.com by dc...@scienceprousa.com on 22 May 2015 at 2:57

GoogleCodeExporter commented 9 years ago
Can you reproduce the error and provide the receiver logs? Also, do you 
remember the build number where this was working correctly?

Original comment by jonathan...@google.com on 22 May 2015 at 8:27