• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 822
  • Last Modified:

Can we display a popup on iphone while playing a video on particular time and get it disappear on certain time automatically?

Hi,

Can we display a popup on iphone while playing a video on particular time and get it disappear on certain time automatically?

This popup is also required to take parameters from our javascript or php code and needs to display a button as well. So if user clicks that button the popup will go away passing some parameters back to our code.

However if user does not click the button then it should simply disappear at certain predecided time.

Urgent help will be much appreciated!
0
Wikkiboy
Asked:
Wikkiboy
  • 3
  • 2
1 Solution
 
Gurvinder Pal SinghCommented:
not sure if it is possible at all to overlay an element on top of video tag as far as iphone is concerned.

Your best bet would be to hide the video first and then show the popup.

0
 
WikkiboyAuthor Commented:
Firstly thanks for the comment, but... No its not possible in my scenario as I got to keep the video running in background.
0
 
Gurvinder Pal SinghCommented:
Then I'm afraid, i don't think i can help much, since i couldn't achieve placing the video ratings by making the z-index higher.
After some searching i found that any media tag on Iphone, takes the higher priority and that could not be superseded.



0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
WikkiboyAuthor Commented:
Yes i can understand your point, thats why i tried javascript alert which certainly comes up and solves problem to some extent but fails when we need it to disappear based on certain time as javascript stops once alert is on.

In this scenario, I think we need to figure out a way so some middle medium such as C or java code running on server can trigger default iphone popups.
0
 
SpeedyApocalypseCommented:
Is this through a web-app?  You should be able to just do a simple javascript alert and this will display as a popup.  However, a native popup on the phone will not work.
0
 
WikkiboyAuthor Commented:
Not 100% what I wanted but i think after so many attempts I am bound to accept this as no one could suggest any other alternative solution
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now