joseph / Monocle

A silky, tactile browser-based ebook JavaScript library.
http://monocle.inventivelabs.com.au
MIT License
743 stars 200 forks source link

Html5 video element click problem #203

Open kuvark opened 10 years ago

kuvark commented 10 years ago

Hi,

When i try to tap /click the video element, page turns automaticly. I couldnt understand well and maybe i could do sth with stencil but it didnt worked.

Has anybody got an idea?

joseph commented 10 years ago

Consider using the Magic panel.

AbhilashThomas commented 9 years ago

I have the same issue. I used magic panel, but when I click on the video element, the page turns. Any help?

Using I-Mode for now.

joseph commented 9 years ago

You probably need to create a Stencil behavior to do this. See the Stencil.Links class for an example. I don't have code to offer — this isn't something I've done. If you want to contribute a Stencil.Media class back to Monocle that activates

— J

On Wednesday, 4 June 2014, AbhilashThomas notifications@github.com wrote:

I have the same issue. I used magic panel, but when I click on the video element, the page turns. Any help?

Using I-Mode for now.

— Reply to this email directly or view it on GitHub https://github.com/joseph/Monocle/issues/203#issuecomment-45084033.

AbhilashThomas commented 9 years ago

Quick update, in iOS the video tag works properly, even in TwoPane. Seems like iOS safari gives the video tags a high z-index or something. On android, this fails, and when i click on the video element, the page turns, no matter what panel i chose, except I-Mode.

Looking into the Stencil.Links class....

bcharp commented 9 years ago

Any update on this, I'm interested ?

pravid commented 6 years ago

Any update on this?