Solved

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

Posted on 2011-02-20
8
814 Views
Last Modified: 2013-11-25
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
Comment
Question by:Wikkiboy
  • 3
  • 2
8 Comments
 
LVL 40

Expert Comment

by:gurvinder372
Comment Utility
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
 

Author Comment

by:Wikkiboy
Comment Utility
Firstly thanks for the comment, but... No its not possible in my scenario as I got to keep the video running in background.
0
 
LVL 40

Expert Comment

by:gurvinder372
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:Wikkiboy
Comment Utility
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
 
LVL 13

Accepted Solution

by:
SpeedyApocalypse earned 250 total points
Comment Utility
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
 

Author Closing Comment

by:Wikkiboy
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

The release of the iPhone 6 and the iPhone 6 Plus was extremely successful for Apple. However when iOS 8.1 was introduced, many iPhone users complained of quick battery drainage. Without even knowing, you may be unnecessarily using up your battery p…
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now