how can i detect a click on <iframe> in ionic 2 - events

I am using ionic 2. I am using the 'iframe' tag to stream video but can't swipe the 'iframe' .I just want to know how a click event can be caught when clicking inside the 'iframe'.

Related

Is there a Nativescript TabViewItem tap event?

I'm using Nativescript 4.1 with a TabView that has androidTabsPosition="bottom" to make it look the same on iOS and Android.
One of the TabViewItem has sub-pages that are accessible through buttons, so the navigation looks like:
TabViewItem 1 shows view 1
TabViewItem 2 shows Button 1 and Button 2
Click on Button 1 shows view 2.1
Click on Button 2 shows view 2.2
With iOS, when the view is in view 2.1, and I click the TabViewItem 2, it puts me back in the overview with the two buttons, which is very nice.
However, under Android nothing happens when I click the TabViewItem 2, it stays in view 2.1.
Is there a way to get the iOS behaviour under Android?

Button at the right bottom of screen in Flutter

What is this shopping cart button at the right bottom of the screen called ? Click for image2 Is it a floating action button ? which also expands check the video, how to implement it ?
This icon is
https://docs.flutter.io/flutter/material/Icons/shopping_cart-constant.html
This Shrine app is implemented in Google CodeLabs. Have you checked its git-hub ?

Taking save/download screen/creating an image using knockout.js

We have an mvc app built using knockout.js and there is a outer frame and then it has several panels inside. They use high charts too within the panels.
What I have don't know is how to do download image/screen when a user clicks a button from the outer frame or even from on the panel, of an existing panel after its loaded . I can raise an event when the button is clicked but now I don't know how to capture the already loaded panel and then convert it into an image file.
Any ideas?
Thanks in advance.
Sarah

Xamarin.forms : How to show the downstate of button which is having background image

I am using xamarin.forms button control. I have set the background image to that button using custom renderer for android. I need to show the down state of the button if I click on the button. How can I do this?

YouTube lightbox doesn't count view

I have a thumbnail.jpg hosted on my server, when clicked, open a jQuery lightbox and play YouTube video. However, by this method I need to add &autoplay=1 in the embed code. Or else, users will need to click twice on the same video in order to play.
The problem is, youtube said autoplay doesn't count the view. In my case, user DOES click on the thumbnail image hosted on my server. Is there any suggestion to use the same flow (click –> lightbox) and make YouTube count the view? This video is on top of the sidebar at my website.

Resources