Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

**Bug Report** Flash Object in Slide doesnt receive Events #47

Open
monsdroid opened this issue Sep 20, 2016 · 0 comments
Open

**Bug Report** Flash Object in Slide doesnt receive Events #47

monsdroid opened this issue Sep 20, 2016 · 0 comments

Comments

@monsdroid
Copy link

Hi,

nice Plugin!
We are using it and had an issue with an FlashPlayer in a Slide (Livestrem, HLS, JWPlayer) not getting any Events passed trough.

The start Function checks for touch devices and if not it prevents the Default.
Chrome and IE 11 (lower no testet) will also prevent passing the Event to the SWF Object (Firefox does)
so we added a check if the event target is a flash object and if so, dont prevent default.

~ Line 429
if (!has.touch && !("application/x-shockwave-flash" === e.target.type)) {
e.preventDefault();
}

Works like a charm.

Best Regards,
Simon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant