iaian7 / mediaboxAdvanced

mediabox displays flash, video, audio, & html content in a modal dialog. Based on Slimbox and the Mootools javascript library.
http://iaian7.com/webcode/mediaboxAdvanced
85 stars 29 forks source link

HTML5 YouTube content continues to play after the lightbox is closed #9

Open willwood opened 12 years ago

willwood commented 12 years ago

If you are playing a YouTube video via mediaboxAdvanced in HTML5 format and you close the lightbox before the video finishes playing, the audio can still be heard. This issue is replicable in browsers like Safari and Firefox, if a user has opted to disable or un-install Flash player.

From what I can gather, Flash video's get stopped correctly when the mediaboxAdvanced window gets closed. But HTML5 video content is being ignored by the close action.