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
819 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 34940798
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
ID: 34940869
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
ID: 34940899
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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

Author Comment

by:Wikkiboy
ID: 34940951
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
ID: 34957730
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
ID: 35206184
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

707 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